1 #ifndef BOOST_MOVE_DETAIL_PLACEMENT_NEW_HPP
2 #define BOOST_MOVE_DETAIL_PLACEMENT_NEW_HPP
3 ///////////////////////////////////////////////////////////////////////////////
5 // (C) Copyright Ion Gaztanaga 2014-2015. Distributed under the Boost
6 // Software License, Version 1.0. (See accompanying file
7 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 // See http://www.boost.org/libs/container for documentation.
11 ///////////////////////////////////////////////////////////////////////////////
13 #ifndef BOOST_CONFIG_HPP
14 # include <boost/config.hpp>
17 #if defined(BOOST_HAS_PRAGMA_ONCE)
21 struct boost_move_new_t{};
23 //avoid including <new>
24 inline void *operator new(std::size_t, void *p, boost_move_new_t)
27 inline void operator delete(void *, void *, boost_move_new_t)
30 #endif //BOOST_MOVE_DETAIL_PLACEMENT_NEW_HPP