/usr/include/boost/proto/detail
NameSizeModeActions
preprocessed/-0755rm
and_n.hpp36700644editdlrm
any.hpp31250644editdlrm
args.hpp30890644editdlrm
as_expr.hpp63700644editdlrm
as_lvalue.hpp10370644editdlrm
basic_expr.hpp72780644editdlrm
class_member_traits.hpp17990644editdlrm
decltype.hpp166190644editdlrm
deduce_domain.hpp68290644editdlrm
deduce_domain_n.hpp23690644editdlrm
deep_copy.hpp30630644editdlrm
deprecated.hpp157370644editdlrm
dont_care.hpp8500644editdlrm
expr.hpp159730644editdlrm
expr_funop.hpp16040644editdlrm
extends_funop.hpp17690644editdlrm
extends_funop_const.hpp16020644editdlrm
funop.hpp33480644editdlrm
generate_by_value.hpp29480644editdlrm
ignore_unused.hpp9070644editdlrm
is_noncopyable.hpp19480644editdlrm
lambda_matches.hpp23150644editdlrm
local.hpp15360644editdlrm
make_expr.hpp23300644editdlrm
make_expr_.hpp36820644editdlrm
make_expr_funop.hpp21090644editdlrm
matches_.hpp41070644editdlrm
memfun_funop.hpp15710644editdlrm
or_n.hpp19430644editdlrm
poly_function.hpp69250644editdlrm
poly_function_funop.hpp25590644editdlrm
poly_function_traits.hpp28180644editdlrm
remove_typename.hpp47930644editdlrm
static_const.hpp7620644editdlrm
template_arity.hpp22910644editdlrm
template_arity_helper.hpp16010644editdlrm
traits.hpp90630644editdlrm
unpack_expr_.hpp79320644editdlrm
vararg_matches_impl.hpp22140644editdlrm
Edit: /usr/include/boost/proto/detail/as_expr.hpp (6370B)
/////////////////////////////////////////////////////////////////////////////// /// \file as_expr.hpp /// Contains definition of the as_expr\<\> and as_child\<\> helper class /// templates used to implement proto::domain's as_expr\<\> and as_child\<\> /// member templates. // // 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_DETAIL_AS_EXPR_HPP_EAN_06_09_2010 #define BOOST_PROTO_DETAIL_AS_EXPR_HPP_EAN_06_09_2010 #include #include #include #include #include #if defined(_MSC_VER) # pragma warning(push) # pragma warning(disable : 4714) // function 'xxx' marked as __forceinline not inlined #endif namespace boost { namespace proto { namespace detail { //////////////////////////////////////////////////////////////////////////////////////////////// template struct base_generator { typedef Generator type; }; template struct base_generator > { typedef Generator type; }; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_expr; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_expr { typedef typename term_traits::value_type value_type; typedef proto::expr, 0> expr_type; typedef typename Generator::template result::type result_type; BOOST_FORCEINLINE result_type operator()(T &t) const { return Generator()(expr_type::make(t)); } }; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_expr { typedef typename term_traits::value_type value_type; typedef proto::basic_expr, 0> expr_type; typedef typename Generator::template result::type result_type; BOOST_FORCEINLINE result_type operator()(T &t) const { return Generator()(expr_type::make(t)); } }; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_expr { typedef typename term_traits::value_type value_type; typedef proto::expr, 0> result_type; BOOST_FORCEINLINE result_type operator()(T &t) const { return result_type::make(t); } }; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_expr { typedef typename term_traits::value_type value_type; typedef proto::basic_expr, 0> result_type; BOOST_FORCEINLINE result_type operator()(T &t) const { return result_type::make(t); } }; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_child; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_child { #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) typedef typename term_traits::reference reference; #else typedef T &reference; #endif typedef proto::expr, 0> expr_type; typedef typename Generator::template result::type result_type; BOOST_FORCEINLINE result_type operator()(T &t) const { return Generator()(expr_type::make(t)); } }; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_child { #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) typedef typename term_traits::reference reference; #else typedef T &reference; #endif typedef proto::basic_expr, 0> expr_type; typedef typename Generator::template result::type result_type; BOOST_FORCEINLINE result_type operator()(T &t) const { return Generator()(expr_type::make(t)); } }; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_child { #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) typedef typename term_traits::reference reference; #else typedef T &reference; #endif typedef proto::expr, 0> result_type; BOOST_FORCEINLINE result_type operator()(T &t) const { return result_type::make(t); } }; //////////////////////////////////////////////////////////////////////////////////////////////// template struct as_child { #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) typedef typename term_traits::reference reference; #else typedef T &reference; #endif typedef proto::basic_expr, 0> result_type; BOOST_FORCEINLINE result_type operator()(T &t) const { return result_type::make(t); } }; }}} #if defined(_MSC_VER) # pragma warning(pop) #endif #endif