1 /////////////////////////////////////////////////////////////////////////////
3 // (C) Copyright Ion Gaztanaga 2014-2014
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 // See http://www.boost.org/libs/intrusive for documentation.
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef BOOST_INTRUSIVE_DETAIL_SIMPLE_DISPOSERS_HPP
14 #define BOOST_INTRUSIVE_DETAIL_SIMPLE_DISPOSERS_HPP
16 #ifndef BOOST_CONFIG_HPP
17 # include <boost/config.hpp>
20 #if defined(BOOST_HAS_PRAGMA_ONCE)
31 template <class Pointer>
32 void operator()(Pointer)
36 template<class NodeAlgorithms>
39 typedef typename NodeAlgorithms::node_ptr node_ptr;
42 void operator()(const node_ptr & p)
43 { NodeAlgorithms::init(p); }
47 } //namespace intrusive{
50 #endif //BOOST_INTRUSIVE_DETAIL_SIMPLE_DISPOSERS_HPP