From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-09-10 14:45:03
Andrzej Krzemienski wrote:
> 1. The usage of `nullptr` for null values.
Half of the existing JSON libraries map null to nullptr, it's pretty well
established and idiomatic at this point.
> 3. It is confusing for me to see member function serializer::read. I would
> think that the action that a serializer does is *write* rather than read.
> Am I missing something?
s.read( buf ) writes data to the buffer you supply, just like fread writes
data to the buffer you supply. It's a bit disorienting initially, but does
make sense. You read from the serializer.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk