#include <new>
#include <memory>
#include <rw_driver.h>
#include <rw/_defs.h>
#include <rw/_error.h>
#include <cstdlib>
#include <cstring>
Go to the source code of this file.
◆ _RWSTD_NO_EXT_OPERATOR_NEW
| #define _RWSTD_NO_EXT_OPERATOR_NEW |
◆ TEST_OP_THROWS
| #define TEST_OP_THROWS |
( |
|
expr, |
|
|
|
cond, |
|
|
|
tag |
|
) |
| |
Value:
alloc._failAlloc =
true; \
expr; \
rw_assert (cond, 0, __LINE__,
tag); \
} \
RW_ASSERT (!cond, 0, __LINE__,
tag); \
} \
_CATCH (...) { \
rw_assert (!cond, 0, __LINE__,
tag); \
} \
(void)0
Definition at line 155 of file 18.support.dynamic.cpp.
◆ main()
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ my_new_handler()
◆ my_unexpected_handler()
| void my_unexpected_handler |
( |
| ) |
|
◆ operator delete()
| void operator delete |
( |
void * |
p | ) |
|
◆ operator new()
| void * operator new |
( |
std::size_t |
size | ) |
|
◆ default_throw_proc
| void(* default_throw_proc) (int, char *) |
( |
int |
, |
|
|
char * |
|
|
) |
| = _RW::__rw_throw_proc |
◆ my_throw_proc_called