$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2020-09-24 09:57:57
Hi Everyone,
I have heard this claim a number of times: json::value is suitable for a
vocabulary type. I am not sure what that actually means: no templates?
Guarantee that layout or mangled symbol will never change? Anything else?
My understanding of a "vocabulary type" is that it should be usable (not
necessarily with maximum efficiency) for *any* usage. In the case of JSON
that would mean that I should be able to represent any value that
corresponds to a valid JSON when converted to text. I do not think that
json::value can claim that without the ability to serialize arbitrarily big
numbers.
I understand that the goal of the library is to address the most common
cases, and big numbers do not fall into this category. I am just saying
that the name "vocabulary type" may not be accurate here.
Regards,
&rzej;