/usr/include/boost/spirit/home/karma/detail
NameSizeModeActions
alternative_function.hpp100960644editdlrm
as.hpp22190644editdlrm
attributes.hpp27370644editdlrm
default_width.hpp23460644editdlrm
enable_lit.hpp9240644editdlrm
extract_from.hpp95930644editdlrm
fail_function.hpp19750644editdlrm
generate.hpp50660644editdlrm
generate_auto.hpp20150644editdlrm
generate_to.hpp21900644editdlrm
get_casetag.hpp9570644editdlrm
get_stricttag.hpp10810644editdlrm
indirect_iterator.hpp28820644editdlrm
output_iterator.hpp209330644editdlrm
pass_container.hpp159550644editdlrm
string_compare.hpp19770644editdlrm
string_generate.hpp40100644editdlrm
unused_delimiter.hpp15960644editdlrm
Edit: /usr/include/boost/spirit/home/karma/detail/attributes.hpp (2737B)
// Copyright (c) 2001-2011 Hartmut Kaiser // Copyright (c) 2001-2011 Joel de Guzman // // 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_SPIRIT_KARMA_DETAIL_ATTRIBUTES_HPP #define BOOST_SPIRIT_KARMA_DETAIL_ATTRIBUTES_HPP #include #include #include /////////////////////////////////////////////////////////////////////////////// namespace boost { namespace spirit { namespace karma { template struct transform_attribute { typedef Transformed type; static Transformed pre(Exposed& val) { return Transformed(traits::extract_from(val, unused)); } // Karma only, no post() and no fail() required }; template struct transform_attribute const, Transformed , typename disable_if, Transformed> >::type> { typedef Transformed const& type; static Transformed const& pre(boost::optional const& val) { return boost::get(val); } }; template struct transform_attribute { typedef Attribute const& type; static Attribute const& pre(Attribute const& val) { return val; } // Karma only, no post() and no fail() required }; // unused_type needs some special handling as well template <> struct transform_attribute { typedef unused_type type; static unused_type pre(unused_type) { return unused; } }; template <> struct transform_attribute : transform_attribute {}; template struct transform_attribute : transform_attribute {}; template struct transform_attribute : transform_attribute {}; }}} /////////////////////////////////////////////////////////////////////////////// namespace boost { namespace spirit { namespace traits { namespace detail { template struct transform_attribute_base : karma::transform_attribute {}; }}}} #endif