Skip to content

Mismatch in reflect_constant declaration #8244

@mpolacek

Description

@mpolacek

[meta.reflection] first claims:

// [meta.reflection.result], expression result reflection
  template<class T>
    consteval info reflect_constant(const T& value);

but later in [meta.reflection.result] we say:

template<class T>
  consteval info reflect_constant(T expr);

I think the latter one is correct.

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