I have the following code:
std::string test(\"1.1\"); std::pair d; bool r = qi::phrase_parse( test.begin(), test.end(),
It should work. What people forget very often is to add a
#include <boost/fusion/include/std_pair.hpp>
to their list of includes. This is necessary to make std::pair a full blown Fusion citizen.
std::pair