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
OPERATOR_NEW_ARRAY_NOTHROW.cpp
Go to the documentation of this file.
1
// checking for operator new[] (size_t, nothrow_t)
2
3
25
#include "config.h"
26
27
#include <
stddef.h
>
28
29
30
#ifndef _RWSTD_NO_NAMESPACE
31
# ifndef _RWSTD_NO_STD_NOTHROW_T
32
33
namespace
std
{
34
35
# endif
// _RWSTD_NO_STD_NOTHROW_T
36
#endif
// _RWSTD_NO_NAMESPACE
37
38
struct
nothrow_t
{ };
39
40
#ifndef _RWSTD_NO_NAMESPACE
41
# ifndef _RWSTD_NO_STD_NOTHROW_T
42
43
}
// end namespace std
44
45
using
std::nothrow_t
;
46
47
# endif
// _RWSTD_NO_STD_NOTHROW_T
48
#endif
// _RWSTD_NO_NAMESPACE
49
50
#ifdef _RWSTD_NO_EXCEPTION_SPECIFICATION
51
# define throw()
52
#endif
// _RWSTD_NO_EXCEPTION_SPECIFICATION
53
54
void
*
operator
new
[] (size_t,
const
nothrow_t
&)
throw
();
55
56
int
main
()
57
{
58
::operator
new
[] (1,
nothrow_t
());
59
return
0;
60
}
main
int main()
Definition
OPERATOR_NEW_ARRAY_NOTHROW.cpp:56
std
Definition
json.h:5363
stddef.h
nothrow_t
Definition
GLOBAL_NOTHROW.cpp:25
std::nothrow_t
Definition
OPERATOR_DELETE_ARRAY_NOTHROW.cpp:36
Generated by
1.9.8