/usr/include/boost/fusion/container/deque/detail
NameSizeModeActions
cpp03/-0755rm
at_impl.hpp22160644editdlrm
begin_impl.hpp12540644editdlrm
build_deque.hpp25000644editdlrm
convert_impl.hpp16450644editdlrm
deque_keyed_values.hpp26450644editdlrm
end_impl.hpp12380644editdlrm
is_sequence_impl.hpp9010644editdlrm
keyed_element.hpp54040644editdlrm
value_at_impl.hpp15250644editdlrm
Edit: /usr/include/boost/fusion/container/deque/detail/at_impl.hpp (2216B)
/*============================================================================= Copyright (c) 2005-2012 Joel de Guzman Copyright (c) 2005-2006 Dan Marsden 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) ==============================================================================*/ #if !defined(BOOST_FUSION_DEQUE_AT_IMPL_09122006_2017) #define BOOST_FUSION_DEQUE_AT_IMPL_09122006_2017 #include #include #include #include #include #include #include #include #include namespace boost { namespace fusion { struct deque_tag; namespace extension { template struct at_impl; template<> struct at_impl { template struct apply { typedef typename Sequence::next_up next_up; typedef typename Sequence::next_down next_down; BOOST_MPL_ASSERT_RELATION(next_down::value, !=, next_up::value); static int const offset = next_down::value + 1; typedef mpl::int_<(N::value + offset)> adjusted_index; typedef typename detail::keyed_element_value_at::type element_type; typedef typename add_reference< typename mpl::eval_if< is_const, add_const, mpl::identity >::type >::type type; BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED static type call(Sequence& seq) { return seq.get(adjusted_index()); } }; }; } }} #endif