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.
propagate_const
assignment operators have incorrect return typeSection: 3.7.5 [fund.ts.v2::propagate_const.assignment] Status: TS Submitter: Tim Song Opened: 2015-07-08 Last modified: 2017-07-30
Priority: 0
View all issues with TS status.
Discussion:
Addresses: fund.ts.v2
N4529
[propagate_const.assignment] depicts the two operator=
s described as returning by value.
This is obviously incorrect. The class synopsis correctly shows them as returning by reference.
[2015-06, Telecon]
Move to Tentatively Ready.
Proposed resolution:
This wording is relative to N4529.
Edit [propagate_const.assignment] as indicated:
-1- template <class U> constexpr propagate_const& operator=(propagate_const<U>&& pu)[…]
-5- template <class U> constexpr propagate_const& operator=(U&& u)