Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

add_const_t VS plain const #7845

Copy link
Copy link
Open
@frederick-vs-ja

Description

@frederick-vs-ja
Issue body actions

The standard wording sometimes uses add_const_t and add_volatile_t when plain const and volatile are sufficient. IIUC the difference is that add_*_t block template argument deduction like type_identity_t, but we never use add_*_t in such contexts.

Would it be better to use plain const and volatile?

Metadata

Metadata

Assignees

No one assigned

    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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.