• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Class Modeler and STL std::
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
http://www.cedrus.com/



On Nov 16, 2005, at 1:24 PM, email@hidden wrote:


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

References: 
 >Class Modeler and STL std:: (From: email@hidden)
 >Re: Class Modeler and STL std:: (From: "William H. Schultz" <email@hidden>)

  • Prev by Date: Re: Separate targets by localisation
  • Next by Date: Copying from folder to bundle
  • Previous by thread: Re: Class Modeler and STL std::
  • Next by thread: Re: Class Modeler and STL std::
  • Index(es):
    • Date
    • Thread