This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 26.2 [container.requirements] Status: CD1 Submitter: Jens Maurer Opened: 2007-11-06 Last modified: 2017-02-03
Priority: Not Prioritized
View all other issues in [container.requirements].
View all issues with CD1 status.
26.2 [container.requirements] says:
-12- Objects passed to member functions of a container as rvalue references shall not be elements of that container. No diagnostic required.
A reference is not an object, but this sentence appears to claim so.
What is probably meant here:
An object bound to an rvalue reference parameter of a member function of a container shall not be an element of that container; no diagnostic required.
Change 26.2 [container.requirements]:
Objects passed to member functions of a container as rvalue references shall not be elementsof that container . No diagnostic required.