#pragma once #include "common_defines.hpp" #ifdef new #undef new #endif #include using boost::shared_ptr; template inline shared_ptr make_shared_ptr(T * t) { return shared_ptr(t); } template inline shared_ptr make_shared_ptr(T * t, U u) { return shared_ptr(t, u); } #ifdef DEBUG_NEW #define new DEBUG_NEW #endif