Title
[fund.ts] optional declares and then does not define an operator<()
Status
resolved
Section
[optional.comp_with_t]
Submitter
Howard Hinnant

Created on 2013-08-26.00:00:00 last changed 119 months ago

Messages

Date: 2014-06-17.08:47:43

Proposed resolution:

This wording is relative to N3691.

  1. Add to [optional.comp_with_t]:

    template <class T> constexpr bool operator<(const T& v, const optional<T>& x);
    

    -?- Returns: bool(x) ? less<T>{}(v, *x) : false.

Date: 2014-06-16.00:00:00

[ 2014-06-16 Rapperswill ]

Confirmed that this issue is resolved in the current Library Fundamentals working paper.

Date: 2014-06-07.00:00:00

[ 2014-06-07 Daniel comments ]

This issue should be set to Resolved, because the wording fix is already applied in the last fundamentals working draft.

Date: 2014-06-06.00:00:00

[ 2014-06-06 pre-Rapperswill ]

This issue has been reopened as fundamentals-ts.

Date: 2014-06-06.21:18:30

[ 2013-09 Chicago: ]

Move to Deferred. This feature will ship after C++14 and should be revisited then.

Date: 2014-06-06.21:18:30

Addresses: fund.ts

In [optional.syn] there is:

template <class T> constexpr bool operator<(const T&, const optional<T>&);

But I can find no definition for this signature.

History
Date User Action Args
2014-06-17 08:47:43adminsetmessages: + msg7058
2014-06-17 08:47:43adminsetstatus: open -> resolved
2014-06-07 17:23:44adminsetmessages: + msg7006
2014-06-06 21:18:30adminsetmessages: + msg6995
2014-06-06 21:18:30adminsetstatus: deferred -> open
2013-09-26 11:12:18adminsetmessages: + msg6632
2013-09-26 11:12:18adminsetstatus: new -> deferred
2013-08-26 17:13:58adminsetmessages: + msg6572
2013-08-26 00:00:00admincreate