/usr/include/boost/proto/functional/fusion
NameSizeModeActions
at.hpp18360644editdlrm
pop_back.hpp19460644editdlrm
pop_front.hpp22550644editdlrm
push_back.hpp17090644editdlrm
push_front.hpp17200644editdlrm
reverse.hpp19210644editdlrm
Edit: /usr/include/boost/proto/functional/fusion/push_front.hpp (1720B)
/////////////////////////////////////////////////////////////////////////////// /// \file push_front.hpp /// Proto callables Fusion push_front // // Copyright 2010 Eric Niebler. 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) #ifndef BOOST_PROTO_FUNCTIONAL_FUSION_PUSH_FRONT_HPP_EAN_11_27_2010 #define BOOST_PROTO_FUNCTIONAL_FUSION_PUSH_FRONT_HPP_EAN_11_27_2010 #include #include #include #include #include namespace boost { namespace proto { namespace functional { /// \brief A PolymorphicFunctionObject type that invokes the /// \c fusion::push_front() algorithm on its argument. /// /// A PolymorphicFunctionObject type that invokes the /// \c fusion::push_front() algorithm on its argument. struct push_front { BOOST_PROTO_CALLABLE() template struct result; template struct result : fusion::result_of::push_front< typename boost::add_const::type>::type , typename boost::remove_const::type>::type > {}; template typename fusion::result_of::push_front::type operator ()(Seq const &seq, T const &t) const { return fusion::push_front(seq, t); } }; }}} #endif