Title
A reference is not an object
Status
cd1
Section
[container.requirements]
Submitter
Jens Maurer

Created on 2007-11-06.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [container.requirements]:

-12- Objects passed to member functions of a container as rvalue references shall not be elements An object bound to an rvalue reference parameter of a member function of a container shall not be an element of that container.; Nno diagnostic required.

Date: 2007-11-06.00:00:00

[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.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg3677
2007-11-06 00:00:00admincreate