Namespaces and VS2003

Started by
0 comments, last by Raeldor 18 years, 7 months ago
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
Advertisement
Ugh, my bad. My forward declarations in my header files were outside of the namespace!

This topic is closed to new replies.

Advertisement