$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Iggy Veresov (ig_at_[hidden])
Date: 2005-01-23 16:37:32
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