N3915: apply() call a function with arguments from a tuple (V3) -- Peter Sommerlad

Save to:
Instapaper Pocket Readability

Note: This paper was among the papers adopted into the draft Library Fundamentals TS yesterday at the Issaquah WA USA ISO C++ meeting.

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N3915

Date: 2014-02-14

apply() call a function with arguments from a tuple (V3)

by Peter Sommerlad

Excerpt:

This is a slightly update from the wording of N3829 as proposed by LEWG in Issaquah, adding std:: again where necessary and constexpr.

N3658 and its predecessor N3493 introduced integer_sequence facility and provide application of this features, for example apply() that is proposed in this paper.

...

Acknowledgements go to Jonathan Wakely for providing integer_sequence and providing apply() as the example in the working draft. He also suggested a big improvement to the resulting standard change from N3802.

Acknowledgements go to Mike Spertus for making me aware of the ... pack formation approaches.

Acknowledgements to the following persons on the c++std-lib reflector for their feedback and encouragement: Jonathan Wakely, Andy Sawyer, Stephan T. Lavavej, Jared Hoberock, and Tony van Eerd.

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.