http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #27402|0 |1 is obsolete| | --- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-15 01:04:30 UTC --- Created attachment 27406 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27406 Draft 2 This is my current best, uses std::get and std::tuple_element. Passes testing.