How to extract tuple element in lambda function?

23 Jan
2005
23 Jan
'05
9:37 p.m.
Can anybody enlighten me, how to extract a tuple element in lambda function? A straight-forward approach of binding corresponding get<> member-function doesn't comple.. using namespace boost::lambda; boost::tuple<int,int> t(1,2); std::cout << bind(&boost::tuple<int,int>::get<0>, _1)(t); Thanks in advance! /Ig
7448
Age (days ago)
7448
Last active (days ago)
0 comments
1 participants
participants (1)
-
Iggy Veresov