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:36:58


Jeremiah Willcock wrote:
> That does not appear to be a function object, but a plain function.
> Also, shouldn't something like this (and getting the nth element type
> from a tuple) be in the tuple library itself?
More like :
http://www.boost.org/doc/libs/1_39_0/libs/fusion/doc/html/fusion/sequence/intrinsic/functions/at_c.html
and :
http://www.boost.org/doc/libs/1_39_0/libs/fusion/doc/html/fusion/sequence/intrinsic/metafunctions/at_c.html

But a quick look at the implementation, it's not a PFO even if it
supports the result_of protocol.

-- 
___________________________________________
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