/usr/include/boost/intrusive
NameSizeModeActions
detail/-0755rm
any_hook.hpp105060644editdlrm
avltree.hpp241240644editdlrm
avltree_algorithms.hpp289780644editdlrm
avl_set.hpp453820644editdlrm
avl_set_hook.hpp109650644editdlrm
bstree.hpp952080644editdlrm
bstree_algorithms.hpp800710644editdlrm
bs_set.hpp448980644editdlrm
bs_set_hook.hpp105010644editdlrm
circular_list_algorithms.hpp153760644editdlrm
circular_slist_algorithms.hpp150290644editdlrm
derivation_value_traits.hpp27490644editdlrm
hashtable.hpp1560710644editdlrm
intrusive_fwd.hpp163820644editdlrm
linear_slist_algorithms.hpp119680644editdlrm
link_mode.hpp20910644editdlrm
list.hpp580890644editdlrm
list_hook.hpp101710644editdlrm
member_value_traits.hpp34810644editdlrm
options.hpp109960644editdlrm
pack_options.hpp101740644editdlrm
parent_from_member.hpp20050644editdlrm
pointer_plus_bits.hpp37520644editdlrm
pointer_rebind.hpp63060644editdlrm
pointer_traits.hpp138980644editdlrm
priority_compare.hpp18120644editdlrm
rbtree.hpp242450644editdlrm
rbtree_algorithms.hpp259740644editdlrm
set.hpp447510644editdlrm
set_hook.hpp108120644editdlrm
sgtree.hpp418930644editdlrm
sgtree_algorithms.hpp175150644editdlrm
sg_set.hpp457290644editdlrm
slist.hpp884920644editdlrm
slist_hook.hpp108680644editdlrm
splaytree.hpp283250644editdlrm
splaytree_algorithms.hpp297510644editdlrm
splay_set.hpp475350644editdlrm
treap.hpp588700644editdlrm
treap_algorithms.hpp293270644editdlrm
treap_set.hpp473870644editdlrm
trivial_value_traits.hpp23810644editdlrm
unordered_set.hpp450700644editdlrm
unordered_set_hook.hpp167700644editdlrm
Edit: /usr/include/boost/intrusive/trivial_value_traits.hpp (2381B)
///////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2006-2013 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/intrusive for documentation. // ///////////////////////////////////////////////////////////////////////////// #ifndef BOOST_INTRUSIVE_TRIVIAL_VALUE_TRAITS_HPP #define BOOST_INTRUSIVE_TRIVIAL_VALUE_TRAITS_HPP #include #include #include #include #include #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif namespace boost { namespace intrusive { //!This value traits template is used to create value traits //!from user defined node traits where value_traits::value_type and //!node_traits::node should be equal template struct trivial_value_traits { typedef NodeTraits node_traits; typedef typename node_traits::node_ptr node_ptr; typedef typename node_traits::const_node_ptr const_node_ptr; typedef typename node_traits::node value_type; typedef node_ptr pointer; typedef const_node_ptr const_pointer; static const link_mode_type link_mode = LinkMode; BOOST_INTRUSIVE_FORCEINLINE static node_ptr to_node_ptr (value_type &value) { return pointer_traits::pointer_to(value); } BOOST_INTRUSIVE_FORCEINLINE static const_node_ptr to_node_ptr (const value_type &value) { return pointer_traits::pointer_to(value); } BOOST_INTRUSIVE_FORCEINLINE static const pointer & to_value_ptr(const node_ptr &n) { return n; } BOOST_INTRUSIVE_FORCEINLINE static const const_pointer &to_value_ptr(const const_node_ptr &n) { return n; } }; } //namespace intrusive } //namespace boost #include #endif //BOOST_INTRUSIVE_TRIVIAL_VALUE_TRAITS_HPP