![]() |
Home | Libraries | People | FAQ | More |
transform_attribute
now takes
an additional template parameter Domain
allowing to better specialize the customization point for either qi::domain
or karma::domain
.
![]() |
Important |
---|---|
This is a interface breaking change requiring to modify exising code. If
you have a specialization of this customization point in your code you
need to add the specialization for the new template parameter, i.e. either
|
pre
of the
customization point transform_attribute
to convert
the supplied attribute to the exposed attribute type, as needed. The functions
post
and fail
of this customization point are
not invoked by this component (as this would not make any sense).
pre
of the
customization point transform_attribute
to convert
the supplied attribute to the consumend attribute type, as needed.
skip
directive which is semantically
equivalent to the Spirit.Karmaomit
directive except that it
will not execute the embedded generator.
strict[]
and relaxed[]
allowing to switch between the two.
char_("a",
"z")
instead of char_('a', 'z')
making it consistent with the syntax of
the char_('a')
component
(which can be written as char_("a")
as well). Please note that the mixed syntax
forms, i.e. char_('a', "z")
and char_("a", 'z')
,
are not supported.
repeat
(num)[a]
generator
at any position (well, actually you can have any repetitive container at
any position now, but this doesn't always make sense as it normally would
eat up all supplied attribute values).