diff options
Diffstat (limited to 'boost/spirit/home/karma/nonterminal/rule.hpp')
-rw-r--r-- | boost/spirit/home/karma/nonterminal/rule.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/boost/spirit/home/karma/nonterminal/rule.hpp b/boost/spirit/home/karma/nonterminal/rule.hpp index 8660f442a8..99d195fa5f 100644 --- a/boost/spirit/home/karma/nonterminal/rule.hpp +++ b/boost/spirit/home/karma/nonterminal/rule.hpp @@ -42,6 +42,7 @@ #if defined(BOOST_MSVC) # pragma warning(push) +# pragma warning(disable: 4127) // conditional expression is constant # pragma warning(disable: 4355) // 'this' : used in base member initializer list warning #endif @@ -118,16 +119,16 @@ namespace boost { namespace spirit { namespace karma karma::domain, template_params>::type delimiter_type; - // The rule's signature - typedef typename - spirit::detail::extract_sig<template_params>::type - sig_type; - // The rule's encoding type typedef typename spirit::detail::extract_encoding<template_params>::type encoding_type; + // The rule's signature + typedef typename + spirit::detail::extract_sig<template_params, encoding_type, karma::domain>::type + sig_type; + // This is the rule's attribute type typedef typename spirit::detail::attr_from_sig<sig_type>::type |