New paper: N3584, Wording for Addressing Tuples by Type -- Mike Spertus

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: N3584

Date: 2013-03-14

Wording for Addressing Tuples by Type

by Mike Spertus

Excerpt:

In Portland, LWG accepted the "Addressing tuples by type" portion of n3404, pending wording, which is provided below. Note that the "Functoriality" proposal in that paper was not accepted.

Add a Comment

Comments are closed.

Comments (1)

1 0

mmocny said on Mar 19, 2013 01:25 PM:

In the example of ambiguity you listed, would it be possible to allow indexing in types range? i.e. get<std::string, 0>

Essentially something like std::get<class T, size_t index = 0>?