Skip to content

CWG3123 Global lookup for begin and end for expansion statements P4026 #2615

Description

@jensmaurer

As currently specified, std::tuple is considered expansion-iterable (which causes a failure when actually expanding), but it should be considered expansion-destructurable instead.

CWG selected an approach for CWG3123 that solves the issue, but has a set of drawbacks different from the currently-specified approach.

EWG is asked to confirm CWG's decision or offer a different approach.

Activity

  1. added this to the 2026-03 milestone on Jan 23, 2026
  2. changed the title [-]CWG3123 Global lookup for begin and end for expansion statements[/-] [+]CWG3123 Global lookup for begin and end for expansion statements P4026[/+] on Mar 11, 2026
  3. jensmaurer commented on Mar 11, 2026

    @jensmaurer
    MemberAuthor

    See also P4026 Core Issue 3123 'Global lookup for begin and end for expansion statements' #2659

  4. hanickadot commented on Mar 23, 2026

    @hanickadot
    Collaborator

    EWG in Croydon

    Approve the approach of P4026R0 (CWG-3123 'Global lookup for begin and end for expansion statements') of just "viable candidate" as the solution to CWG-3123 and forward back to CWG for C++26.

    SF F N A SA
    3 22 4 0 0

    Result: consensus in favor

  5. added and removed
    EWGEvolution
    on Mar 23, 2026
  6. moved this to Ready for review in CWGon Mar 23, 2026
  7. moved this from Ready for review to Approved for plenary vote in CWGon Mar 24, 2026
  8. jensmaurer commented on Mar 24, 2026

    @jensmaurer
    MemberAuthor

    CWG 2026-03-24 in Croydon: Approved CWG3123 for plenary straw poll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++26Targeted at C++26CWGCore

    Type

    No type

    Projects

    • Status
      Approved for plenary vote

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions