Hi,
Would it be possible to add a static_assert if two identical alternatives of a std::variant are not tagged?
Imagine someone relies on the type of the alternative (retrieved from the json) to construct an object for example.
It would avoid possibly complex to debug issues.
Thank you.
Best regards,
Vincent
Hi,
Would it be possible to add a static_assert if two identical alternatives of a std::variant are not tagged?
Imagine someone relies on the type of the alternative (retrieved from the json) to construct an object for example.
It would avoid possibly complex to debug issues.
Thank you.
Best regards,
Vincent