Date: Sat, 18 Apr 2026 21:03:40 -0700
On Saturday, 18 April 2026 20:26:32 Pacific Daylight Time Muneem via Std-
Proposals wrote:
> 1. The benefit of bookkeeping is to flatten multiple potential branches of
> a switch statement into a subscripting operation. For example if the
> booking was a array of std::variant<T&...>(for every element in the tuple)
> then to subscript, you just subscript the array.
Who says that's a benefit?
As Jason asked, you have to think about the trade-off. Having a bigger type has
a cost.
Proposals wrote:
> 1. The benefit of bookkeeping is to flatten multiple potential branches of
> a switch statement into a subscripting operation. For example if the
> booking was a array of std::variant<T&...>(for every element in the tuple)
> then to subscript, you just subscript the array.
Who says that's a benefit?
As Jason asked, you have to think about the trade-off. Having a bigger type has
a cost.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Data Center - Platform & Sys. Eng.
Received on 2026-04-19 04:03:42
