For matching a Grammar to a variable number of sub-expressions. More...
#include <proto_fwd.hpp>
Public Types | |
typedef void | proto_is_vararg_ |
INTERNAL ONLY. More... | |
For matching a Grammar to a variable number of sub-expressions.
An expression type expr<AT, listN<A0,...An,U0,...Um> >
matches a grammar expr<BT, listM<B0,...Bn,vararg<V> > >
if BT
is _
or AT
, and if Ax
matches Bx
for each x
in [0,n)
and if Ux
matches V
for each x
in [0,m)
.
For example:
When used as a transform, vararg<G>
applies G
's transform.
typedef void boost::proto::vararg< Grammar >::proto_is_vararg_ |
INTERNAL ONLY.