Re: X3: byte_range parser
Mike Gresens <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
Current workaround:
const auto byte_rule = [](const std::int_fast8_t from, const
std::int_fast8_t to)
{
const auto check = [from, to](auto& ctx)
{
const std::int_fast8_t value = x3::_attr(ctx);
x3::_val(ctx) = value;
x3::_pass(ctx) = from <= value && value <= to;
};
return x3::byte_ [check];
};
--
View this message in context: http://boost.2283326.n4.nabble.com/X3-byte-range-parser-tp4682991p4683040.html
Sent from the spirit-general mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140