#ifndef BHO_MOVE_DETAIL_PLACEMENT_NEW_HPP #define BHO_MOVE_DETAIL_PLACEMENT_NEW_HPP /////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2014-2015. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/container for documentation. // /////////////////////////////////////////////////////////////////////////////// #ifndef BHO_CONFIG_HPP # include #endif #if defined(BHO_HAS_PRAGMA_ONCE) # pragma once #endif struct bho_move_new_t{}; //avoid including inline void *operator new(std::size_t, void *p, bho_move_new_t) { return p; } inline void operator delete(void *, void *, bho_move_new_t) {} #endif //BHO_MOVE_DETAIL_PLACEMENT_NEW_HPP