This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TS status.
Section: 99 [fund.ts::optional.object.observe] Status: TS Submitter: Jonathan Wakely Opened: 2014-03-25 Last modified: 2017-07-30
View all issues with TS status.
In Bristol I think I claimed that the remarks for optional::to_value() were unimplementable and the function could only be constexpr if both constructors that could be called were constexpr, but I was wrong. The remarks should be reverted to the original pre-n3793 form.
Accept for Library Fundamentals TS Working Paper
This wording is relative to N3908.
Change [optional.object.observe] p23 of the Library Fundamentals specification as indicated:
template <class U> constexpr T value_or(U&& v) const &;
[…]-23- Remarks: If
both constructors of T which could be selected are constexpr constructors, this function shall be a constexpr function.