C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::elide

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Sun, 19 May 2024 23:08:30 +0200
Is there some syntactic space in trailing return types? Something like auto Func(void) -> mutex _Retvar would feel to be the most logical solution. -----Ursprüngliche Nachricht----- Von:Frederick Virchanza Gotham via Std-Proposals <std-proposals_at_[hidden]> Gesendet:So 19.05.2024 13:58 Betreff:Re: [std-proposals] std::elide An:std-proposals_at_[hidden]; CC:Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>; Also we could mark the definition (but not the declaration) of an NRVO function as follows: mutex Func(void) _Retvar { // implementation } Why not optionally mark the declaration? Function parameter names (not only types) can also be named for both.

Received on 2024-05-19 21:08:34