C++ Logo

std-proposals

Advanced search

Re: [std-proposals] for loop enhancement

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 14 Mar 2025 11:00:15 -0700
On Friday, 14 March 2025 10:17:58 Pacific Daylight Time Andre Kostur via Std-
Proposals wrote:
> Also two other clarifications would also need to happen: what about
> duplicate values, and in what order will that loop across the enum
> values (recall: one can define an enum in an arbitrary order).

This feature seems like it should be in the domain of reflection.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2025-03-14 18:00:20