File indexing completed on 2025-01-18 09:38:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_INTERPROCESS_DETAIL_NODE_TOOLS_HPP
0012 #define BOOST_INTERPROCESS_DETAIL_NODE_TOOLS_HPP
0013
0014 #ifndef BOOST_CONFIG_HPP
0015 # include <boost/config.hpp>
0016 #endif
0017 #
0018 #if defined(BOOST_HAS_PRAGMA_ONCE)
0019 # pragma once
0020 #endif
0021
0022 #include <boost/interprocess/detail/config_begin.hpp>
0023 #include <boost/interprocess/detail/workaround.hpp>
0024
0025 #include <boost/intrusive/slist.hpp>
0026
0027 namespace boost {
0028 namespace interprocess {
0029 namespace ipcdetail {
0030
0031
0032 template<class VoidPointer>
0033 struct node_slist
0034 {
0035
0036 typedef typename bi::make_slist_base_hook
0037 <bi::void_pointer<VoidPointer>, bi::link_mode<bi::normal_link> >::type slist_hook_t;
0038
0039
0040 struct node_t
0041 : public slist_hook_t
0042 {};
0043
0044 typedef typename bi::make_slist
0045 <node_t, bi::linear<true>, bi::base_hook<slist_hook_t> >::type node_slist_t;
0046 };
0047
0048 }
0049 }
0050 }
0051
0052 #include <boost/interprocess/detail/config_end.hpp>
0053
0054 #endif