Boost C++ Libraries Home Libraries People FAQ More

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: traits::container_value and traits::push_back_container. This section describes both.


PrevUpHomeNext