C++ Logo

SG14

Advanced search

Subject: Re: [SG14] P1385
From: Jayesh Badwaik (badwaik.jayesh_at_[hidden])
Date: 2019-02-08 04:25:20


Are we okay with just `auto` return types? These require definition to
precede usage leading to intractable cycles.

I suggest that we start putting return types (at least trailing ones)
everywhere. Keeping a track of return types at very stage would make
other things like keeping track of copies easier. It will also point
out issues with things like perfect forwarding that might require
change in signatures otherwise.

--
Best
Jayesh

SG14 list run by herb.sutter at gmail.com

Older archives