[#spaces] [section spaces] [h1 Synopsis] struct spaces; This is a [link parser parser]. [h1 Description] `spaces` accepts any number of whitespace characters. It requires at least one to be present. [h1 Header] #include [h1 Expression semantics] spaces is equivalent to repeated1 [h1 Example] #include #include #include #include #include #include using namespace boost::metaparse; static_assert( std::is_same< BOOST_METAPARSE_STRING("foo"), get_remaining>::type >::type::value, "it should consume all whitespaces at the beginning of the input" ); static_assert( is_error>::type::value, "it should return an error when the input does not begin with a whitespace" ); [endsect]