Boost logo

Boost Users :

Subject: [Boost-users] [tuple] Function object for nth element of a tuple
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2009-07-05 16:12:35


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.

-- Jeremiah Willcock


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