Title
Dependency of lambdas on <functional>
Status
nad
Section
7.5.6 [expr.prim.lambda]
Submitter
UK

Created on 2009-03-03.00:00:00 last changed 187 months ago

Messages

Date: 2009-07-15.00:00:00

Rationale (July, 2009):

The reference to 22.10 [function.objects] appears in a note, not in normative text, and is intended only to clarify the meaning of the term “function object.” The CWG does not believe that this reference creates any dependency on any library facility.

Date: 2022-11-20.07:54:16
N2800 comment UK 45

7.5.6 [expr.prim.lambda] paragraph 2 says,

A closure object behaves as a function object (22.10 [function.objects])...

This linkage to <functional> increases the dependency of the language upon the library and is inconsistent with the definition of “freestanding” in 16.4.2.5 [compliance].

History
Date User Action Args
2009-08-03 00:00:00adminsetstatus: review -> nad
2009-03-23 00:00:00adminsetmessages: + msg1925
2009-03-03 00:00:00admincreate