1 //////////////////////////////////////////////////////////////////////////////
3 // (C) Copyright Ion Gaztanaga 2015-2016.
4 // Distributed under the Boost Software License, Version 1.0.
5 // (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
8 // See http://www.boost.org/libs/move for documentation.
10 //////////////////////////////////////////////////////////////////////////////
14 #ifndef BOOST_MOVE_DETAIL_DESTRUCT_N_HPP
15 #define BOOST_MOVE_DETAIL_DESTRUCT_N_HPP
17 #ifndef BOOST_CONFIG_HPP
18 # include <boost/config.hpp>
21 #if defined(BOOST_HAS_PRAGMA_ONCE)
30 template<class T, class RandItUninit>
34 explicit destruct_n(RandItUninit raw)
35 : m_ptr(raw), m_size()
43 void incr(std::size_t n)
64 }} //namespace boost { namespace movelib{
66 #endif //#ifndef BOOST_MOVE_DETAIL_DESTRUCT_N_HPP