![]() |
Home | Libraries | People | FAQ | More |
boost::xpressive::reference — reference<>
is a lazy wrapper for a reference that can be used in xpressive semantic actions.
// In header: <boost/xpressive/regex_actions.hpp> template<typename T> struct reference : public { // construct/copy/destruct (); // public member functions () ; };
Here is an example of how to use reference<>
to create a lazy reference to an existing object so it can be read and written in an xpressive semantic action.
reference<std::map<std::string, int> > sregex