Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext

Store Parsed Attribute Values into a Container (Qi)

Determine the Type to be Stored in a Container (Qi)
Store a Parsed Attribute Value into a Container (Qi)

In order to customize Spirit to accept a given data type as a container for elements parsed by any of the repetitive parsers (Kleene, Plus, List, and Repeat) two attribute customization points have to be specialized: container_value and push_back_container. This section describes both.


PrevUpHomeNext