![]() |
Home | Libraries | People | FAQ | More |
boost::xpressive::local — local<>
is a lazy wrapper for a reference to a value that is stored within the local itself. It is for use within xpressive semantic actions.
// In header: <boost/xpressive/regex_actions.hpp> template<typename T> struct local : public { // public member functions (); (); (); () ; };
Below is an example of how to use local<>
in semantic actions.
; ("1!2!3?"); // count the exciting digits, but not the // questionable ones. [ ++(,
![]() |
Note |
---|---|
As the name "local" suggests, |