|
Boost : |
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2023-02-09 20:14:16
On 08/02/2023 19:46, Vinnie Falco via Boost wrote:
> On Wed, Feb 8, 2023 at 9:48 AM Peter Dimov via Boost
> <boost_at_[hidden]> wrote:
>>> Yes it do !
>
> 10 or 14 bytes depending on architecture:
>
> <https://github.com/boostorg/json/blob/22c1b391d4fe8b35a5c5637f8677d6d619a25e6e/include/boost/json/detail/string_impl.hpp#L38>
For 64 bits machines some string implementations (like
boost::container::string) can give you 23 bytes (22 character plus '\0'.
In 32 bit mode it should be roughly 10 characters plus '\0'.
I don't know if that can make any difference, though.
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk