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
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
27
namespace
std
{
28
29
// looking for a definition in compiler support library
30
void
unexpected
();
31
32
}
33
34
// will cause an error if namespace std isn't being honored
35
int
unexpected
();
36
37
int
main
(
int
argc,
char
*argv[])
38
{
39
(void)&argv;
40
41
if
(argc > 1)
42
std::unexpected ();
43
44
return
0;
45
}
main
#define main
Definition
BAD_ALLOC_COPY_CTOR.cpp:32
unexpected
void unexpected()
unexpected
int unexpected()
std
Definition
json.h:5363
Generated by
1.9.8