C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Fixing some initialization gotchas
From: Matthew Woehlke (mwoehlke.floss_at_[hidden])
Date: 2019-08-23 11:44:11


On 23/08/2019 12.23, Timur Doumler via Std-Proposals wrote:
> Imagine having to teach folks that auto a{1}; means one thing in
> C++14, another thing in C++17, and yet something else in C++23.

I don't know why you would "have" to teach them "that auto a{1}; means
one thing in C++14, another thing in C++17, and yet something else in
C++23". I can imagine *quite* easily how I would teach `auto a{1}`...

DON'T DO THAT.

See? Easy!

-- 
Matthew

STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups