File indexing completed on 2025-01-18 09:38:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
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 }
0041 }
0042 }
0043
0044 #endif