Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
etc
config
src
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
28
namespace
std
{
29
30
int
foo
() {
return
0; }
31
32
struct
S
{ };
33
34
}
35
36
long
foo
() {
return
1; }
37
38
enum
S
{
s0
};
39
40
int
bar
(
std::S
)
41
{
42
return
!(0 == std::foo ());
43
}
bar
int bar()
Definition
collapse_static_locals.lib.cpp:36
s0
@ s0
Definition
HONOR_STD.cpp:38
foo
long foo()
Definition
HONOR_STD.cpp:36
foo
#define foo(buf, s,...)
Definition
VA_LIST_FUNC_MACRO.cpp:28
std
Definition
json.h:5363
S
Definition
COLLAPSE_TEMPLATE_STATICS.cpp:40
std::S
Definition
HONOR_STD.cpp:32
Generated by
1.9.8