fusion_2 won't compile one it's map examples with g++3.4.3

18 Dec
2006
18 Dec
'06
3:14 p.m.
This example, from the docs, won't compile with linux g++3.4.3 typedef map< pair<int, char> , pair<double, std::string> > map_type; map_type m( make_pair<int>('X') , make_pair<double>("Men")); int main() { std::cout << at<int>(m) << std::endl; std::cout << at<double>(m) << std::endl; }

23 Dec
23 Dec
6:26 a.m.
David Minor wrote:
This example, from the docs, won't compile with linux g++3.4.3
std::cout << at<int>(m) << std::endl;
std::cout << at<double>(m) << std::endl;
Doc bug. This has been noted and will be fixed. Please use at_key. Thanks! Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
6726
Age (days ago)
6731
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Minor
-
Joel de Guzman