
19 Apr
2007
19 Apr
'07
11:41 a.m.
Hello! Thanks for the great lib again. I was using a fusion::map container and discovered the following error at: http://spirit.sourceforge.net/dl_more/fusion_v2/libs/fusion/doc/html/fusion/... The exsample states: typedef map< pair<int, char> , pair<double, std::string> > map_type; map_type m( make_pair<int>('X') , make_pair<double>("Men")); std::cout << at<int>(m) << std::endl; std::cout << at<double>(m) << std::endl; ^^-- error Where it should be not at<TYPE>(...) but at_key<TYPE>(...). With Kind Regards, Ovanes