|
||||
File indexing completed on 2025-01-18 09:40:53
0001 #ifndef BOOST_MOVE_DETAIL_PLACEMENT_NEW_HPP 0002 #define BOOST_MOVE_DETAIL_PLACEMENT_NEW_HPP 0003 /////////////////////////////////////////////////////////////////////////////// 0004 // 0005 // (C) Copyright Ion Gaztanaga 2014-2015. Distributed under the Boost 0006 // Software License, Version 1.0. (See accompanying file 0007 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0008 // 0009 // See http://www.boost.org/libs/container for documentation. 0010 // 0011 /////////////////////////////////////////////////////////////////////////////// 0012 0013 #ifndef BOOST_CONFIG_HPP 0014 # include <boost/config.hpp> 0015 #endif 0016 0017 #if defined(BOOST_HAS_PRAGMA_ONCE) 0018 # pragma once 0019 #endif 0020 0021 struct boost_move_new_t{}; 0022 0023 //avoid including <new> 0024 inline void *operator new(std::size_t, void *p, boost_move_new_t) 0025 { return p; } 0026 0027 inline void operator delete(void *, void *, boost_move_new_t) 0028 {} 0029 0030 #endif //BOOST_MOVE_DETAIL_PLACEMENT_NEW_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |