Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
STD_TERMINATE.cpp
Go to the documentation of this file.
1// checking for std::terminate()
2
3
25// will fail if namespaces aren't supported
26namespace std {
27
28// looking for a definition in compiler support library
29void terminate ();
30
31}
32
33// will cause an error if namespace std isn't being honored
34int terminate ();
35
36int main (int argc, char *argv[])
37{
38 (void)&argv;
39
40 if (argc > 1)
41 std::terminate ();
42
43 return 0;
44}
#define main
void terminate()
int terminate()
Definition json.h:5363