Boost logo

Boost Users :

Subject: Re: [Boost-users] [tuple] Function object for nth element of a tuple
From: joel (joel.falcou_at_[hidden])
Date: 2009-07-05 16:18:21


Jeremiah Willcock wrote:
> Is there a standard way to get a function object that extracts a fixed
> element from a tuple? There is a boost::tuples::detail::get_class<N>
> that does what I want, but it does not have result_type and does not
> appear to be officially supported.
isn't boost::fusion::at_c a proper PFO that works on tuple ?

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

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