Index: iterator.hpp =================================================================== --- iterator.hpp (revision 83435) +++ iterator.hpp (working copy) @@ -116,6 +116,32 @@ } }; -}}}} +}} +namespace traits { + template + struct is_multi_pass > : mpl::true_ {}; + + template + void clear_queue(boost::spirit::lex::lexertl::iterator & mp + , BOOST_SCOPED_ENUM(traits::clear_mode) mode) + { + mp.clear_queue(mode); + } + + template + void inhibit_clear_queue(boost::spirit::lex::lexertl::iterator& mp, bool flag) + { + mp.inhibit_clear_queue(flag); + } + + template + bool inhibit_clear_queue(boost::spirit::lex::lexertl::iterator& mp) + { + return mp.inhibit_clear_queue(); + } +} + +}} + #endif