/usr/include/boost/mpl/aux_
NameSizeModeActions
config/-0755rm
preprocessed/-0755rm
preprocessor/-0755rm
range_c/-0755rm
test/-0755rm
adl_barrier.hpp15590644editdlrm
advance_backward.hpp34190644editdlrm
advance_forward.hpp33380644editdlrm
apply_1st.hpp7310644editdlrm
arg_typedef.hpp7760644editdlrm
arithmetic_op.hpp24410644editdlrm
arity.hpp10950644editdlrm
arity_spec.hpp18320644editdlrm
at_impl.hpp10910644editdlrm
back_impl.hpp11210644editdlrm
basic_bind.hpp5500644editdlrm
begin_end_impl.hpp26430644editdlrm
clear_impl.hpp8270644editdlrm
common_name_wknd.hpp8770644editdlrm
comparison_op.hpp21530644editdlrm
contains_impl.hpp15720644editdlrm
count_args.hpp29370644editdlrm
count_impl.hpp11750644editdlrm
empty_impl.hpp10590644editdlrm
erase_impl.hpp17670644editdlrm
erase_key_impl.hpp7490644editdlrm
filter_iter.hpp30170644editdlrm
find_if_pred.hpp7560644editdlrm
fold_impl.hpp12710644editdlrm
fold_impl_body.hpp89440644editdlrm
fold_op.hpp8220644editdlrm
fold_pred.hpp7640644editdlrm
front_impl.hpp10320644editdlrm
full_lambda.hpp87960644editdlrm
has_apply.hpp7670644editdlrm
has_begin.hpp5800644editdlrm
has_key_impl.hpp8560644editdlrm
has_rebind.hpp25710644editdlrm
has_size.hpp5530644editdlrm
has_tag.hpp5710644editdlrm
has_type.hpp5750644editdlrm
include_preprocessed.hpp13330644editdlrm
inserter_algorithm.hpp48160644editdlrm
insert_impl.hpp17140644editdlrm
insert_range_impl.hpp22250644editdlrm
integral_wrapper.hpp35210644editdlrm
is_msvc_eti_arg.hpp13180644editdlrm
iter_apply.hpp9020644editdlrm
iter_fold_if_impl.hpp58480644editdlrm
iter_fold_impl.hpp12400644editdlrm
iter_push_front.hpp7710644editdlrm
joint_iter.hpp28770644editdlrm
lambda_arity_param.hpp6960644editdlrm
lambda_no_ctps.hpp49410644editdlrm
lambda_spec.hpp12140644editdlrm
lambda_support.hpp53660644editdlrm
largest_int.hpp19790644editdlrm
logical_op.hpp45350644editdlrm
msvc_dtw.hpp17420644editdlrm
msvc_eti_base.hpp16680644editdlrm
msvc_is_class.hpp14850644editdlrm
msvc_never_true.hpp7430644editdlrm
msvc_type.hpp12070644editdlrm
na.hpp16450644editdlrm
na_assert.hpp9580644editdlrm
na_fwd.hpp6730644editdlrm
na_spec.hpp44490644editdlrm
nested_type_wknd.hpp12660644editdlrm
nttp_decl.hpp8440644editdlrm
numeric_cast_utils.hpp17630644editdlrm
numeric_op.hpp84890644editdlrm
O1_size_impl.hpp21040644editdlrm
order_impl.hpp20440644editdlrm
overload_names.hpp20290644editdlrm
partition_op.hpp13900644editdlrm
pop_back_impl.hpp8040644editdlrm
pop_front_impl.hpp10780644editdlrm
ptr_to_ref.hpp10950644editdlrm
push_back_impl.hpp20710644editdlrm
push_front_impl.hpp20920644editdlrm
reverse_fold_impl.hpp13840644editdlrm
reverse_fold_impl_body.hpp105990644editdlrm
reverse_iter_fold_impl.hpp13560644editdlrm
sequence_wrapper.hpp81700644editdlrm
shift_op.hpp22460644editdlrm
single_element_iter.hpp27890644editdlrm
size_impl.hpp13240644editdlrm
sort_impl.hpp28770644editdlrm
static_cast.hpp7700644editdlrm
template_arity.hpp47350644editdlrm
template_arity_fwd.hpp5630644editdlrm
test.hpp7290644editdlrm
traits_lambda_spec.hpp15690644editdlrm
transform_iter.hpp26360644editdlrm
type_wrapper.hpp11810644editdlrm
unwrap.hpp9290644editdlrm
value_wknd.hpp20290644editdlrm
yes_no.hpp11800644editdlrm
Edit: /usr/include/boost/mpl/aux_/single_element_iter.hpp (2789B)
#ifndef BOOST_MPL_AUX_SINGLE_ELEMENT_ITER_HPP_INCLUDED #define BOOST_MPL_AUX_SINGLE_ELEMENT_ITER_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // 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/mpl for documentation. // $Id$ // $Date$ // $Revision$ #include #include #include #include #include #include #include #include #include namespace boost { namespace mpl { #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) namespace aux { template< typename T, BOOST_MPL_AUX_NTTP_DECL(int, is_last_) > struct sel_iter; template< typename T > struct sel_iter { typedef random_access_iterator_tag category; typedef sel_iter next; typedef T type; }; template< typename T > struct sel_iter { typedef random_access_iterator_tag category; typedef sel_iter prior; }; } // namespace aux template< typename T, BOOST_MPL_AUX_NTTP_DECL(int, is_last_), typename Distance > struct advance< aux::sel_iter,Distance> { typedef aux::sel_iter< T , ( is_last_ + BOOST_MPL_AUX_NESTED_VALUE_WKND(int, Distance) ) > type; }; template< typename T , BOOST_MPL_AUX_NTTP_DECL(int, l1) , BOOST_MPL_AUX_NTTP_DECL(int, l2) > struct distance< aux::sel_iter, aux::sel_iter > : int_<( l2 - l1 )> { }; #else namespace aux { struct sel_iter_tag; template< typename T, BOOST_MPL_AUX_NTTP_DECL(int, is_last_) > struct sel_iter { enum { pos_ = is_last_ }; typedef aux::sel_iter_tag tag; typedef random_access_iterator_tag category; typedef sel_iter next; typedef sel_iter prior; typedef T type; }; } // namespace aux template<> struct advance_impl { template< typename Iterator, typename N > struct apply { enum { pos_ = Iterator::pos_, n_ = N::value }; typedef aux::sel_iter< typename Iterator::type , (pos_ + n_) > type; }; }; template<> struct distance_impl { template< typename Iter1, typename Iter2 > struct apply { enum { pos1_ = Iter1::pos_, pos2_ = Iter2::pos_ }; typedef int_<( pos2_ - pos1_ )> type; BOOST_STATIC_CONSTANT(int, value = ( pos2_ - pos1_ )); }; }; #endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION }} #endif // BOOST_MPL_AUX_SINGLE_ELEMENT_ITER_HPP_INCLUDED