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


274. Cv-qualification and char-alias access to out-of-lifetime objects

Section:6.8.4  [basic.life]    Status:CD1    Submitter:Mike Miller    Date:14 Mar 2001

[Voted into WP at April 2003 meeting.]

The wording in 6.8.4 [basic.life] paragraph 6 allows anlvalue designating an out-of-lifetime object to be used as theoperand of astatic_cast only if the conversion isultimately to "char&" or "unsigned char&".This description excludes the possibility of using a cv-qualifiedversion of these types for no apparent reason.

Notes on 04/01 meeting:

The wording should be changed to allow cv-qualified chartypes.

Proposed resolution (04/01):

In 6.8.4 [basic.life] paragraph 6 change the third bullet:

to read:




[8]ページ先頭

©2009-2026 Movatter.jp