Skip to content

US102 13.1 p4.1 Allow non-type template parameters of floating-point type P1714 #101

@wg21bot

Description

@wg21bot

If it is decided not to use == to define equivalence of class-type non-type template arguments (just as it is not used for references and pointers to members), some of the uncertainty surrounding non-type template parameters of floating-point type will no longer pertain, whereas the (very real) availability of undesirable workarounds involving std::bit_cast(-0.f) will persist.

Proposed change:
Apply P1714R1 (as already approved by EWG and CWG).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions