diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2015-02-06 17:07:00 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:37:32 +0300 |
commit | 33e6349c122f4f886ddf830fd94aeeb94be63b19 (patch) | |
tree | 342614a334d134cbfb4ff9e97f1a96fdf2f3f6d9 /std | |
parent | 5ebba22d264f9b816644916e67c23a10ecf425a7 (diff) |
Integration tests implementation
Diffstat (limited to 'std')
-rw-r--r-- | std/new.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/std/new.hpp b/std/new.hpp new file mode 100644 index 0000000000..fc519b585f --- /dev/null +++ b/std/new.hpp @@ -0,0 +1,15 @@ +#pragma once +#include "common_defines.hpp" + +#ifdef new +#undef new +#endif + +#include <new> + +using std::bad_alloc; +using std::bad_array_new_length; + +#ifdef DEBUG_NEW +#define new DEBUG_NEW +#endif |