> On 8 Apr 2018, at 23:05, Frank Heckenbach <f.heckenb...@fh-soft.de> wrote:
> - Uses std::variant (C++17) instead of Bison's own variant > implementation. > > If you don't have C++17 support yet, you can use an alternative > variant implementation such as https://github.com/mpark/variant . > Boost.Variant might also work; I have not tried it. Akim Demaille gave two motivations on not using this: avoiding the external dependency, and the overhead of storing the type. I think that the C++17 variants may have the latter, but it is not so important on modern computers. But, anyway, GCC7 supports C++17.