Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/container/detail/placement_new.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | f46d142149f5 |
children |
rev | line source |
---|---|
Chris@102 | 1 #ifndef BOOST_CONTAINER_DETAIL_PLACEMENT_NEW_HPP |
Chris@102 | 2 #define BOOST_CONTAINER_DETAIL_PLACEMENT_NEW_HPP |
Chris@102 | 3 /////////////////////////////////////////////////////////////////////////////// |
Chris@102 | 4 // |
Chris@102 | 5 // (C) Copyright Ion Gaztanaga 2014-2015. Distributed under the Boost |
Chris@102 | 6 // Software License, Version 1.0. (See accompanying file |
Chris@102 | 7 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@102 | 8 // |
Chris@102 | 9 // See http://www.boost.org/libs/container for documentation. |
Chris@102 | 10 // |
Chris@102 | 11 /////////////////////////////////////////////////////////////////////////////// |
Chris@102 | 12 |
Chris@102 | 13 #ifndef BOOST_CONFIG_HPP |
Chris@102 | 14 # include <boost/config.hpp> |
Chris@102 | 15 #endif |
Chris@102 | 16 |
Chris@102 | 17 #if defined(BOOST_HAS_PRAGMA_ONCE) |
Chris@102 | 18 # pragma once |
Chris@102 | 19 #endif |
Chris@102 | 20 |
Chris@102 | 21 struct boost_container_new_t{}; |
Chris@102 | 22 |
Chris@102 | 23 //avoid including <new> |
Chris@102 | 24 inline void *operator new(std::size_t, void *p, boost_container_new_t) |
Chris@102 | 25 { return p; } |
Chris@102 | 26 |
Chris@102 | 27 inline void operator delete(void *, void *, boost_container_new_t) |
Chris@102 | 28 {} |
Chris@102 | 29 |
Chris@102 | 30 #endif //BOOST_CONTAINER_DETAIL_PLACEMENT_NEW_HPP |