diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2014-08-06 23:53:58 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:25:03 +0300 |
commit | 180657e756fefbe5d601c64b860ee470217b4956 (patch) | |
tree | 80f12150fc9a6c3101dc0ad71e7e25108ea940ff /std/unique_ptr.hpp | |
parent | b70d11daffeede8c6cb8baaa192344d662a5c266 (diff) |
[c++11] Enhanced ptr classes
Diffstat (limited to 'std/unique_ptr.hpp')
-rw-r--r-- | std/unique_ptr.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/std/unique_ptr.hpp b/std/unique_ptr.hpp new file mode 100644 index 0000000000..e0f9f2e16b --- /dev/null +++ b/std/unique_ptr.hpp @@ -0,0 +1,13 @@ +#pragma once +#include "common_defines.hpp" + +#ifdef new +#undef new +#endif + +#include <memory> +using std::unique_ptr; + +#ifdef DEBUG_NEW +#define new DEBUG_NEW +#endif |