bool call_subject_unused(
Subject const &subject, Iterator &first, Iterator const &last
, Context& context, Skipper const& skipper
- , Index& idx ) const
+ , Index& /*idx*/ ) const
{
Iterator save = first;
skipper_keyword_marker<Skipper,NoCasePass>
bool call_subject(
Subject const &subject, Iterator &first, Iterator const &last
, Context& context, Skipper const& skipper
- , Index& idx ) const
+ , Index& /*idx*/ ) const
{
Iterator save = first;
};
// never called, but needed for decltype-based result_of (C++0x)
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
template <typename Element>
typename result<element_char_type(Element)>::type
- operator()(Element&) const;
+ operator()(Element&&) const;
+#endif
};
// Compute the list of character types of the child kwd directives
};
// never called, but needed for decltype-based result_of (C++0x)
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
template <typename Element>
typename result<element_case_type(Element)>::type
- operator()(Element&) const;
+ operator()(Element&&) const;
+#endif
};
// Compute the list of character types of the child kwd directives
Iterator &first,
const Iterator &last,
const ParseVisitor &parse_visitor,
- const Skipper &skipper) const
+ const Skipper &/*skipper*/) const
{
if(parser_index_type* val_ptr =
lookup->find(first,last,first_pass_filter_type()))
const Iterator &last,
const ParseVisitor &parse_visitor,
const NoCaseParseVisitor &no_case_parse_visitor,
- const Skipper &skipper) const
+ const Skipper &/*skipper*/) const
{
Iterator saved_first = first;
if(parser_index_type* val_ptr =
template <typename Iterator,typename ParseVisitor, typename NoCaseParseVisitor,typename Skipper>
bool parse(
- Iterator &first,
- const Iterator &last,
- const ParseVisitor &parse_visitor,
- const NoCaseParseVisitor &no_case_parse_visitor,
- const Skipper &skipper) const
+ Iterator &/*first*/,
+ const Iterator &/*last*/,
+ const ParseVisitor &/*parse_visitor*/,
+ const NoCaseParseVisitor &/*no_case_parse_visitor*/,
+ const Skipper &/*skipper*/) const
{
return false;
}
template <typename Iterator,typename ParseVisitor, typename Skipper>
bool parse(
- Iterator &first,
- const Iterator &last,
- const ParseVisitor &parse_visitor,
- const Skipper &skipper) const
+ Iterator &/*first*/,
+ const Iterator &/*last*/,
+ const ParseVisitor &/*parse_visitor*/,
+ const Skipper &/*skipper*/) const
{
return false;
}
template <typename ParseFunction>
- bool parse( ParseFunction &function ) const
+ bool parse( ParseFunction &/*function*/ ) const
{
return false;
}
}
template <typename T, typename Position, typename Action>
- int call(const spirit::qi::action<T,Action> &parser, const Position position ) const
+ int call(const spirit::qi::action<T,Action> &parser, const Position /*position*/ ) const
{
// Get the initial state of the flags array and store it in the flags initializer
flags[Position::value]=parser.subject.iter.flag_init();
}
template <typename T, typename Position>
- int call( const T & parser, const Position position) const
+ int call( const T & parser, const Position /*position*/) const
{
// Get the initial state of the flags array and store it in the flags initializer
flags[Position::value]=parser.iter.flag_init();
}
template <typename T, typename Position>
- int call( const spirit::qi::hold_directive<T> & parser, const Position position) const
+ int call( const spirit::qi::hold_directive<T> & parser, const Position /*position*/) const
{
// Get the initial state of the flags array and store it in the flags initializer
flags[Position::value]=parser.subject.iter.flag_init();