Movatterモバイル変換


[0]ホーム

URL:


This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-12-20


769. Initialization of closure objects

Section:7.5.6  [expr.prim.lambda]    Status:CD2    Submitter:Mike Miller    Date:9 February, 2009

[Voted into the WP at the July, 2009 meeting as part of N2927.]

7.5.6 [expr.prim.lambda] paragraph 13 says simply,

The closure object is initialized by direct-initializing each memberN ofF with the local variable or reference namedN; the membert is initialized withthis.

The mechanism for this initialization is not specified. Inparticular, does the closure class have a default constructor thatperforms this initialization?

Proposed resolution (July, 2009)

See document PL22.16/09-0117 = WG21 N2927.




[8]ページ先頭

©2009-2026 Movatter.jp