Re: Class Modeler and STL std::
Re: Class Modeler and STL std::
- Subject: Re: Class Modeler and STL std::
- From: Chris Espinosa <email@hidden>
- Date: Wed, 16 Nov 2005 17:05:09 -0800
On Nov 16, 2005, at 4:05 PM, William H. Schultz wrote: If they are including your header file, then they are including whatever you include. Just because you say "using namespace std" inside your class declaration shouldn't mean they have to treat your class any differently. It definitely doesn't mean they have to start programming with STL--as long as you aren't returning STL objects to them.
Hank Schultz Cedrus Corporation
The class modeler seems to be confused by "std::string variable". It parses the member name as string and the type as unknown.
Is there a way around this? I know that "using namespace std" fixes the problem, but I am writing utility classes that will be used by other members of my team and they may not be using STL. I am using STL in my classes, but I don't want to force them to use STL.
The class modeler, like many other symbolically-driven parts of Xcode (the Project Symbols smartgroup, the Class Browser, Find Definition, and command-doubleclick navigation) is driven off of the project index, and the C++ project indexer does not capture or store namespace information at this time. Items that are distinguished only by namespace may become confused.
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden