|
Boost : |
From: Bjorn Reese (breese_at_[hidden])
Date: 2019-12-08 15:26:34
On 2019-11-24 16:39, Vinnie Falco via Boost wrote:
> I don't think so, the parser in boost.json is a SAX parser which is
> somewhat inconvenient for parsing directly into user defined types. It
> could be adapted into a generator using coroutines however.
Your parser currently uses stack variables, so the adaptor has to use
stackful coroutines which would incur two context-switches on every
iteration.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk