File indexing completed on 2025-01-19 09:47:34
0001
0002
0003
0004
0005
0006 #if !defined(BOOST_SPIRIT_KARMA_CREATE_NOV_21_2009_0340PM)
0007 #define BOOST_SPIRIT_KARMA_CREATE_NOV_21_2009_0340PM
0008
0009 #if defined(_MSC_VER)
0010 #pragma once
0011 #endif
0012
0013 #include <boost/spirit/home/karma/auto/meta_create.hpp>
0014
0015
0016 namespace boost { namespace spirit { namespace result_of
0017 {
0018
0019 template <typename T>
0020 struct create_generator
0021 : spirit::traits::meta_create<karma::domain, T> {};
0022 }}}
0023
0024
0025 namespace boost { namespace spirit { namespace karma
0026 {
0027
0028 template <typename T>
0029 typename result_of::create_generator<T>::type
0030 create_generator()
0031 {
0032 return spirit::traits::meta_create<karma::domain, T>::call();
0033 }
0034 }}}
0035
0036
0037 namespace boost { namespace spirit { namespace traits
0038 {
0039
0040
0041 template <typename T>
0042 struct create_generator_exists
0043 : meta_create_exists<karma::domain, T> {};
0044 }}}
0045
0046 #endif