• Advertisement
Sign in to follow this  

Namespaces and VS2003

This topic is 4611 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I have a header file with my class defined inside a namespace, and I include this header file in another header file that uses the class, must I specificaly use the form NameSpace::ClassName* test; When using it assuming I don't have a 'using' statement in the second header file? I am getting some strange compilation results where it is recognizing some classes even though I haven't specifically said which namespace, but it's not recognizing others. Thanks

Share this post


Link to post
Share on other sites
Advertisement
Ugh, my bad. My forward declarations in my header files were outside of the namespace!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement