Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

on msvc

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 4,73 sec, absolute service time: 4,76 sec 
fork mode |  history
Error(s):
C:\boost_1_60_0\boost/spirit/home/x3/nonterminal/rule.hpp(116): error C2668: 'parser::parse_rule': ambiguous call to overloaded function
source_file.cpp(25): note: could be 'bool parser::parse_rule<Iterator,Context,Attribute_>(boost::spirit::x3::rule<parser::version_number_id,parser::ast::version_number,false>,Iterator &,const Iterator &,const Context &,Attribute &)' [found using argument-dependent lookup]
        with
        [
            Iterator=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,
            Context=boost::spirit::x3::unused_type,
            Attribute_=parser::ast::version_number,
            Attribute=parser::ast::version_number
        ]
C:\boost_1_60_0\boost/spirit/home/x3/nonterminal/rule.hpp(30): note: or       'boost::spirit::x3::detail::default_parse_rule_result boost::spirit::x3::parse_rule<parser::version_number_id,parser::ast::version_number,Iterator,Context,Attribute_>(boost::spirit::x3::rule<parser::version_number_id,parser::ast::version_number,false>,Iterator &,const Iterator &,const Context &,ActualAttribute &)'
        with
        [
            Iterator=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,
            Context=boost::spirit::x3::unused_type,
            Attribute_=parser::ast::version_number,
            ActualAttribute=parser::ast::version_number
        ]
C:\boost_1_60_0\boost/spirit/home/x3/nonterminal/rule.hpp(116): note: while trying to match the argument list '(const boost::spirit::x3::rule<parser::version_number_id,parser::ast::version_number,false>, std::_String_iterator<std::_String_val<std::_Simple_types<char>>>, const std::_String_iterator<std::_String_val<std::_Simple_types<char>>>, const boost::spirit::x3::unused_type, parser::ast::version_number)'
C:\boost_1_60_0\boost/spirit/home/x3/core/parse.hpp(35): note: see reference to function template instantiation 'bool boost::spirit::x3::rule<parser::version_number_id,parser::ast::version_number,false>::parse<Iterator,boost::spirit::x3::unused_type,Attribute>(Iterator &,const Iterator &,const Context &,boost::spirit::x3::unused_type,Attribute_ &) const' being compiled
        with
        [
            Iterator=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,
            Attribute=parser::ast::version_number,
            Context=boost::spirit::x3::unused_type,
            Attribute_=parser::ast::version_number
        ]
C:\boost_1_60_0\boost/spirit/home/x3/core/parse.hpp(35): note: see reference to function template instantiation 'bool boost::spirit::x3::rule<parser::version_number_id,parser::ast::version_number,false>::parse<Iterator,boost::spirit::x3::unused_type,Attribute>(Iterator &,const Iterator &,const Context &,boost::spirit::x3::unused_type,Attribute_ &) const' being compiled
        with
        [
            Iterator=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,
            Attribute=parser::ast::version_number,
            Context=boost::spirit::x3::unused_type,
            Attribute_=parser::ast::version_number
        ]
C:\boost_1_60_0\boost/spirit/home/x3/core/parse.hpp(60): note: see reference to function template instantiation 'bool boost::spirit::x3::parse_main<Iterator,Parser,Attribute>(Iterator &,Iterator,const Parser &,Attribute &)' being compiled
        with
        [
            Iterator=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,
            Parser=boost::spirit::x3::rule<parser::version_number_id,parser::ast::version_number,false>,
            Attribute=parser::ast::version_number
        ]
source_file.cpp(33): note: see reference to function template instantiation 'bool boost::spirit::x3::parse<std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,boost::spirit::x3::rule<parser::version_number_id,parser::ast::version_number,false>,parser::ast::version_number>(const Iterator &,Iterator,const Parser &,Attribute &)' being compiled
        with
        [
            Iterator=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,
            Parser=boost::spirit::x3::rule<parser::version_number_id,parser::ast::version_number,false>,
            Attribute=parser::ast::version_number
        ]
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64

        

    
                
λ
.NET NoSQL database for rapid development