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.

2517. [fund.ts.v2] Two propagate_const assignment operators have incorrect return type

Section: 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.

  1. 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)
    
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy