Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
HONOR_STD.cpp
Go to the documentation of this file.
1// checking if namespace std is honored
2
3
26// g++ 2.9x ignores namespace std unless the -fhonor-std option is used
27
28namespace std {
29
30int foo () { return 0; }
31
32struct S { };
33
34}
35
36long foo () { return 1; }
37
38enum S { s0 };
39
41{
42 return !(0 == std::foo ());
43}
@ s0
Definition HONOR_STD.cpp:38
long foo()
Definition HONOR_STD.cpp:36
#define foo(buf, s,...)
Definition json.h:5363