
22 Oct
2019
22 Oct
'19
9:52 p.m.
On 23/10/2019 05:25, Vinnie Falco wrote:
So I'm curious why it should be different here. Does the doc goes into that already?
`json::value` is not `variant<...>` for the same reason that `string_view` is not `std::pair
`.
That's a good reason for not inheriting from it. It's not a good reason for not using it as a private member, to avoid reimplementing the variant-storage concept. (Though there may be other good reasons for that.)