Skip to content

"conversion operator" denotes functions or operators? #444

Closed
@potswa

Description

@potswa

[vector.bool] §23.3.7/4 refers to std::vector<bool>::reference::operator bool as a conversion operator, whereas it's a conversion function. The index indicates that "conversion operator" is the same as "conversion, user-defined." However [expr.cast] §5.4/2 uses the term to refer to static_cast, const_cast, dynamic_cast and reinterpret_cast, which seems more appropriate.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions