Chris@102: ///////////////////////////////////////////////////////////////////////////// Chris@102: // Chris@102: // (C) Copyright Ion Gaztanaga 2014-2014 Chris@102: // Chris@102: // Distributed under the Boost Software License, Version 1.0. Chris@102: // (See accompanying file LICENSE_1_0.txt or copy at Chris@102: // http://www.boost.org/LICENSE_1_0.txt) Chris@102: // Chris@102: // See http://www.boost.org/libs/intrusive for documentation. Chris@102: // Chris@102: ///////////////////////////////////////////////////////////////////////////// Chris@102: Chris@102: #ifndef BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP Chris@102: #define BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP Chris@102: Chris@102: #ifndef BOOST_CONFIG_HPP Chris@102: # include Chris@102: #endif Chris@102: Chris@102: #if defined(BOOST_HAS_PRAGMA_ONCE) Chris@102: # pragma once Chris@102: #endif Chris@102: Chris@102: namespace boost { Chris@102: namespace intrusive { Chris@102: namespace detail { Chris@102: Chris@102: template Chris@102: struct empty_node_checker Chris@102: { Chris@102: typedef ValueTraits value_traits; Chris@102: typedef typename value_traits::node_traits node_traits; Chris@102: typedef typename node_traits::const_node_ptr const_node_ptr; Chris@102: Chris@102: struct return_type {}; Chris@102: Chris@102: void operator () (const const_node_ptr&, const return_type&, const return_type&, return_type&) {} Chris@102: }; Chris@102: Chris@102: } //namespace detail{ Chris@102: } //namespace intrusive{ Chris@102: } //namespace boost{ Chris@102: Chris@102: #endif //BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP