Home
last modified time | relevance | path

Searched refs:ParserResult (Results 1 – 1 of 1) sorted by relevance

/src/contrib/bsnmp/tests/
H A Dcatch.hpp8977 using ParserResult = BasicResult<ParseResultType>; typedef
8986 inline auto convertInto( std::string const &source, T& target ) -> ParserResult { in convertInto()
8991 … return ParserResult::runtimeError( "Unable to convert '" + source + "' to destination type" ); in convertInto()
8993 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
8995 inline auto convertInto( std::string const &source, std::string& target ) -> ParserResult { in convertInto()
8997 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
8999 inline auto convertInto( std::string const &source, bool &target ) -> ParserResult { in convertInto()
9007 …return ParserResult::runtimeError( "Expected a boolean value but did not recognise: '" + source + … in convertInto()
9008 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
9012 …o convertInto( std::string const &source, CLARA_CONFIG_OPTIONAL_TYPE<T>& target ) -> ParserResult { in convertInto()
[all …]