/usr/include/boost/container/detail
NameSizeModeActions
adaptive_node_pool.hpp55690644editdlrm
adaptive_node_pool_impl.hpp540880644editdlrm
addressof.hpp10630644editdlrm
advanced_insert_int.hpp176680644editdlrm
algorithm.hpp38800644editdlrm
allocation_type.hpp20170644editdlrm
allocator_version_traits.hpp56320644editdlrm
alloc_helpers.hpp18670644editdlrm
alloc_lib.h117420644editdlrm
auto_link.hpp16570644editdlrm
block_list.hpp41990644editdlrm
block_slist.hpp45030644editdlrm
compare_functors.hpp39920644editdlrm
config_begin.hpp36370644editdlrm
config_end.hpp4800644editdlrm
construct_in_place.hpp29520644editdlrm
container_or_allocator_rebind.hpp17430644editdlrm
container_rebind.hpp66100644editdlrm
copy_move_algo.hpp385310644editdlrm
destroyers.hpp93380644editdlrm
dispatch_uses_allocator.hpp197330644editdlrm
dlmalloc.hpp34440644editdlrm
flat_tree.hpp616630644editdlrm
function_detector.hpp35580644editdlrm
is_container.hpp22130644editdlrm
is_contiguous_container.hpp17120644editdlrm
is_sorted.hpp14650644editdlrm
iterator.hpp25900644editdlrm
iterators.hpp298820644editdlrm
iterator_to_raw_pointer.hpp9710644editdlrm
math_functions.hpp38720644editdlrm
minimal_char_traits_header.hpp10570644editdlrm
min_max.hpp9970644editdlrm
mpl.hpp38340644editdlrm
multiallocation_chain.hpp103170644editdlrm
mutex.hpp86650644editdlrm
next_capacity.hpp21400644editdlrm
node_alloc_holder.hpp176510644editdlrm
node_pool.hpp48080644editdlrm
node_pool_impl.hpp131710644editdlrm
pair.hpp212810644editdlrm
pair_key_mapped_of_value.hpp14660644editdlrm
placement_new.hpp9140644editdlrm
pool_common.hpp16060644editdlrm
pool_common_alloc.hpp27300644editdlrm
pool_resource.hpp77440644editdlrm
singleton.hpp44650644editdlrm
std_fwd.hpp14500644editdlrm
thread_mutex.hpp44490644editdlrm
transform_iterator.hpp51030644editdlrm
tree.hpp570380644editdlrm
type_traits.hpp27140644editdlrm
value_functors.hpp11180644editdlrm
value_init.hpp11350644editdlrm
variadic_templates_tools.hpp49590644editdlrm
version_type.hpp24160644editdlrm
workaround.hpp45010644editdlrm
Edit: /usr/include/boost/container/detail/algorithm.hpp (3880B)
////////////////////////////////////////////////////////////////////////////// // // (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/container for documentation. // ////////////////////////////////////////////////////////////////////////////// #ifndef BOOST_CONTAINER_DETAIL_ALGORITHM_HPP #define BOOST_CONTAINER_DETAIL_ALGORITHM_HPP #ifndef BOOST_CONFIG_HPP # include #endif #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif #include namespace boost { namespace container { using boost::intrusive::algo_equal; using boost::intrusive::algo_lexicographical_compare; template class binder1st { public: typedef typename Func::second_argument_type argument_type; typedef typename Func::result_type result_type; binder1st(const Func& func, const typename Func::first_argument_type& arg) : op(func), value(arg) {} result_type operator()(const argument_type& arg) const { return op(value, arg); } result_type operator()(argument_type& arg) const { return op(value, arg); } private: Func op; typename Func::first_argument_type value; }; template inline binder1st bind1st(const Func& func, const T& arg) { return boost::container::binder1st(func, arg); } template class binder2nd { public: typedef typename Func::first_argument_type argument_type; typedef typename Func::result_type result_type; binder2nd(const Func& func, const typename Func::second_argument_type& arg) : op(func), value(arg) {} result_type operator()(const argument_type& arg) const { return op(arg, value); } result_type operator()(argument_type& arg) const { return op(arg, value); } private: Func op; typename Func::second_argument_type value; }; template inline binder2nd bind2nd(const Func& func, const T& arg) { return (boost::container::binder2nd(func, arg)); } template class unary_negate { public: typedef typename Func::argument_type argument_type; typedef typename Func::result_type result_type; explicit unary_negate(const Func& func) : m_func(func) {} bool operator()(const typename Func::argument_type& arg) const { return !m_func(arg); } private: Func m_func; }; template inline unary_negate not1(const Func& func) { return boost::container::unary_negate(func); } template InputIt find_if(InputIt first, InputIt last, UnaryPredicate p) { for (; first != last; ++first) { if (p(*first)) { return first; } } return last; } template InputIt find_first_of(InputIt first1, InputIt last1, ForwardIt first2, ForwardIt last2, BinaryPredicate p) { for (; first1 != last1; ++first1) { for (ForwardIt it = first2; it != last2; ++it) { if (p(*first1, *it)) { return first1; } } } return last1; } template ForwardIt1 search(ForwardIt1 first1, ForwardIt1 last1, ForwardIt2 first2, ForwardIt2 last2, BinaryPredicate p) { for (; ; ++first1) { ForwardIt1 it = first1; for (ForwardIt2 it2 = first2; ; ++it, ++it2) { if (it2 == last2) { return first1; } if (it == last1) { return last1; } if (!p(*it, *it2)) { break; } } } } } //namespace container { } //namespace boost { #endif //#ifndef BOOST_CONTAINER_DETAIL_ALGORITHM_HPP