
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

Ovanes Markarian wrote:
Hello!
Thanks for the great lib again. I was using a fusion::map container and discovered the following error at:
[...]
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>(...).
That's already been fixed in the CVS, FYI. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
participants (2)
-
Joel de Guzman
-
Ovanes Markarian