AMDG Douglas Gregor wrote: > Does Visual C++ also implicitly declare namespace "std" or > "std::type_info"? That's the kind of thing you'll also want to check. >
type_info is declared only in the global namespace. namespace std is implicitly declared. (VC++ 10.0) compiles: const type_info& f(); doesn't compile: const std::type_info& f(); compiles: namespace xxx = std; doesn't compile: namespace xxx = test; In Christ, Steven Watanabe _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
