Title
Bad indexing for tuple access to pair (Editorial?)
Status
nad editorial
Section
[pair.astuple]
Submitter
Alisdair Meredith

Created on 2009-03-13.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

[pair.astuple] p5:

template<int size_t I, class T1, class T2> 
  requires True<(I < 2)> 
  const P& get(const pair<T1, T2>&);
Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

Move to NAD Editorial.

Date: 2009-03-13.00:00:00

The definition of get implies that get must return the second element if given a negative integer.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg540
2010-10-21 18:28:33adminsetmessages: + msg539
2009-03-13 00:00:00admincreate