Home | Libraries | People | FAQ | More |
namespace error { template <int Line, int Col, class Msg = boost::mpl::na> struct unpaired; }
This is a parsing error message.
Template class representing the error that the closing element of an "opening
element ... closing element" structure
is missing. (eg. a closing paren is missing). Line
and Col
point to the beginning
of the opening element (eg. the opening paren). Msg
is the error message the parser trying
to parse the closing element failed with.
It supports currying: unpaired<Line, Col>
is a template
metafunction class taking one argument: the Msg
element and returning the corresponding unpaired
value.
#include <boost/metaparse/error/unpaired.hpp>