Skip to content

CWG2784 Unclear definition of member-designator for offsetof #1616

@jensmaurer

Description

@jensmaurer
  • Is a qualified-id allowed to appear in a member-designator?
  • Is a template-id allowed to appear in a member-designator?
  • Is an offsetof expression required to be a constant expression (7.7 [expr.const])?

See CWG2784 for details.

This issue lands right on the boundary of core and library specification, so EWG is asked to weigh in first, possibly deciding to involve L(E)WG.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EWGEvolutionpaper neededAn issue needs a paper to describe its solution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions