|
Boost Users : |
Subject: [Boost-users] boost fusion dynamic at_n
From: Niitsuma Hirotaka (hirotaka.niitsuma_at_[hidden])
Date: 2012-08-04 03:27:05
I made boost fusion dynamic at_n
usage
boost::fusion::vector<int,double,std::string,char> vec(9 ,2.2 ,"aaa" ,'b');
std::cout << at_n_dynamic<double>(vec, 1) << std::endl; //=> 2.2
detail
http://d.hatena.ne.jp/niitsuma/20120803/1343979718
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net