C++ Logo

std-proposals

Advanced search

Re: Fixing some initialization gotchas

From: Matthew Woehlke <mwoehlke.floss_at_[hidden]>
Date: Fri, 23 Aug 2019 12:44:11 -0400
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

Received on 2019-08-23 11:46:15