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


2433. Variable templates in the ODR

Section:6.3  [basic.def.odr]    Status:C++20    Submitter:Richard Smith    Date:2019-10-10

[Adopted as a DR at the November, 2019 meeting.]

The list of entities in 6.3 [basic.def.odr] paragraph 12that can have multiple definitions across translation units doesnot, but should, include variable templates.

Proposed resolution (October, 2019):

There can be more than one definition of a

in a program provided that...

[Drafting note: “with external linkage” isnot needed for theinline entities because theother cases - entities attached to a named module andmultiple definitions in the same translation unit - areruled out later in that paragraph.]


[8]ページ先頭

©2009-2026 Movatter.jp