parsi/fn/optional.hpp
-
namespace parsi
Functions
-
namespace fn
-
template<is_parser F>
struct Optional - #include <optional.hpp>
Makes a parser to be optional and resort back to original stream if the given parser fails to parse, otherwise it will return the succeeded parse result.
This parser combinator will always succeed and never fail.
-
template<is_parser F>
-
namespace fn