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
String Parsers

Expression

Attribute

Description

str

Unused

Matches str

lit(str)

Unused

Matches str

string(str)

Str

Matches str

symbols<Ch, T>

N/A

Declare a symbol table, sym. Ch is the underlying char type of the symbol table keys. T is the data type associated with each key.

sym.add
    (str1, val1)
    (str2, val2)
    /*...more...*/
;

N/A

Add symbols into a symbol table, sym. val1 and val2 are optional data of type T, the data type associated with each key.

sym

T

Matches entries in the symbol table, sym. If successful, returns the data associated with the key


PrevUpHomeNext