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