¡@

Home 

c++ Programming Glossary: apply_visitor

Is it safe to serialize a raw boost::variant?

http://stackoverflow.com/questions/1194842/is-it-safe-to-serialize-a-raw-boostvariant

int char float double v '1' variant_serializer s boost apply_visitor s v return 0 Regarding shared memory boost variant does not..

How to calculate boolean expression in Spirit

http://stackoverflow.com/questions/12598029/how-to-calculate-boolean-expression-in-spirit

typename T bool recurse T const v const return boost apply_visitor this v bool evaluate const expr e return boost apply_visitor.. this v bool evaluate const expr e return boost apply_visitor eval e I hope I can find some time later to explain. Note that.. typename T bool recurse T const v const return boost apply_visitor this v struct printer boost static_visitor void printer std..

Cross-platform way to get line number of an INI file where given option was found

http://stackoverflow.com/questions/8358975/cross-platform-way-to-get-line-number-of-an-ini-file-where-given-option-was-foun

pr os basic_info_walker printer walker pr what.tag 0 boost apply_visitor walker what.value template typename It typename Skipper typename..

Boolean expression (grammar) parser in c++

http://stackoverflow.com/questions/8706356/boolean-expression-grammar-parser-in-c

std string op const expr l const expr r const _os boost apply_visitor this l _os op boost apply_visitor this r _os void operator.. expr r const _os boost apply_visitor this l _os op boost apply_visitor this r _os void operator const unop op_not u const _os _os.. void operator const unop op_not u const _os _os boost apply_visitor this u.oper1 _os std ostream operator std ostream os const..