#include "Test.h" #include "TestGrammar.h" Test::Test() { } Test::~Test() { } void Test::parse() { string s("1,2,3,4"); TestGrammar gram(*this); parse_info info = boost::spirit::parse( s.c_str(), gram); if(info.full) cout<<"Right"<