[#accept] [section accept] [h1 Synopsis] template struct accept; This is a [link metaprogramming_value template metaprogramming value]. [table Arguments [[Name] [Type]] [[`Result`] [[link metaprogramming_value template metaprogramming value]]] [[`Remaining`] [[link string string]]] [[`Pos`] [[link source_position source position]]] ] [h1 Description] Values representing a successful parser application. It behaves as a [link lazy_metafunction lazy template metafunction]: when it is evaluated as a metafunction, it returns itself with its arguments evaluated. See expression semantics for further details. [note Note that for backward compatibility when `Result::type` is not defined, `accept<....>::type` does not evaluate `Result`. For example `accept::type` is `accept`. Using types that are not template metaprogramming values as `Result` is deprecated and will not work in future versions of the library. ] [h1 Expressions semantics] For any `r` template metaprogramming value, `s` compile-time string and `p` source position the following are equivalent: accept::type accept [h1 Header] #include [h1 Operations] * [link get_position `get_position`] * [link get_remaining `get_remaining`] * [link get_result `get_result`] [endsect]