Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:36

0001 /////////////////////////////////////////////////////////////////////////////
0002 //
0003 // (C) Copyright Ion Gaztanaga  2014-2014
0004 //
0005 // Distributed under the Boost Software License, Version 1.0.
0006 //    (See accompanying file LICENSE_1_0.txt or copy at
0007 //          http://www.boost.org/LICENSE_1_0.txt)
0008 //
0009 // See http://www.boost.org/libs/intrusive for documentation.
0010 //
0011 /////////////////////////////////////////////////////////////////////////////
0012 
0013 #ifndef BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP
0014 #define BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP
0015 
0016 #ifndef BOOST_CONFIG_HPP
0017 #  include <boost/config.hpp>
0018 #endif
0019 
0020 #if defined(BOOST_HAS_PRAGMA_ONCE)
0021 #  pragma once
0022 #endif
0023 
0024 namespace boost {
0025 namespace intrusive {
0026 namespace detail {
0027 
0028 template<class ValueTraits>
0029 struct empty_node_checker
0030 {
0031    typedef ValueTraits                             value_traits;
0032    typedef typename value_traits::node_traits      node_traits;
0033    typedef typename node_traits::const_node_ptr    const_node_ptr;
0034 
0035    struct return_type {};
0036 
0037    void operator () (const_node_ptr, const return_type&, const return_type&, return_type&) {}
0038 };
0039 
0040 }  //namespace detail{
0041 }  //namespace intrusive{
0042 }  //namespace boost{
0043 
0044 #endif //BOOST_INTRUSIVE_DETAIL_EMPTY_NODE_CHECKER_HPP