I have a case where I\'d like to filter the value that comes up as a synthesized attribute inside of a rule through a std::map.
Reposting from comment
Try qi::_val = phx::ref(myMap)[qi::_1] rather than qi::_val = phx::at(myMap, qi::_1).
qi::_val = phx::ref(myMap)[qi::_1]
qi::_val = phx::at(myMap, qi::_1)