/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/pointer_rebind.hpp (6306B)
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2014-2014. 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_POINTER_REBIND_HPP #define BOOST_INTRUSIVE_POINTER_REBIND_HPP #ifndef BOOST_INTRUSIVE_DETAIL_WORKAROUND_HPP #include #endif //BOOST_INTRUSIVE_DETAIL_WORKAROUND_HPP #ifndef BOOST_CONFIG_HPP # include #endif #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif namespace boost { namespace intrusive { /////////////////////////// //struct pointer_rebind_mode /////////////////////////// template struct pointer_has_rebind { template struct any { any(const V&) { } }; template static char test(int, typename X::template rebind*); template static int test(any, void*); static const bool value = (1 == sizeof(test(0, 0))); }; template struct pointer_has_rebind_other { template struct any { any(const V&) { } }; template static char test(int, typename X::template rebind::other*); template static int test(any, void*); static const bool value = (1 == sizeof(test(0, 0))); }; template struct pointer_rebind_mode { static const unsigned int rebind = (unsigned int)pointer_has_rebind::value; static const unsigned int rebind_other = (unsigned int)pointer_has_rebind_other::value; static const unsigned int mode = rebind + rebind*rebind_other; }; //////////////////////// //struct pointer_rebinder //////////////////////// template struct pointer_rebinder; // Implementation of pointer_rebinder::type if Ptr has // its own rebind::other type (C++03) template struct pointer_rebinder< Ptr, U, 2u > { typedef typename Ptr::template rebind::other type; }; // Implementation of pointer_rebinder::type if Ptr has // its own rebind template. template struct pointer_rebinder< Ptr, U, 1u > { typedef typename Ptr::template rebind type; }; // Specialization of pointer_rebinder if Ptr does not // have its own rebind template but has a the form Ptr, // where An... comprises zero or more type parameters. // Many types fit this form, hence many pointers will get a // reasonable default for rebind. #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) template