[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
10.1.2 C++ Semantic Values
Bison supports two different means to handle semantic values in C++. One is alike the C interface, and relies on unions (see section C++ Unions). As C++ practitioners know, unions are inconvenient in C++, therefore another approach is provided, based on variants (see section C++ Variants).
10.1.2.1 C++ Unions | Semantic values cannot be objects | |
10.1.2.2 C++ Variants | Using objects as semantic values |
This document was generated on December 1, 2013 using texi2html 5.0.