Re: Is C++ Variant Considered Stable?

2017-06-28 Thread Simon Richter
Hi, On 28.06.2017 21:33, David McCallum wrote: > Are there changes pending for variant that might break my parser somewhere > down the road? Or is it considered safe to use? Presumably, neither, as I haven't seen any feedback on its usefulness. One problem is that you cannot use std::unique_ptr

Is C++ Variant Considered Stable?

2017-06-28 Thread David McCallum
I'm starting out with Bison and using the calc++ example program as a starting point. It includes variants (%define api.value.type variant), but the Bison documentation says that "this feature needs user feedback to stabilize". https://www.gnu.org/software/bison/manual/html_node/_0025define-Summar