lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add and use a Transform data type (issue 344970043 by address@hidden


From: Hans Åberg
Subject: Re: Add and use a Transform data type (issue 344970043 by address@hidden)
Date: Thu, 21 Jun 2018 15:04:18 +0200

> On 21 Jun 2018, at 10:48, address@hidden wrote:
> 
> I think C++19(?) or so already states that returned classes
> are to be considered initializers rather than temporaries.

Perhaps this is what you have in mind: C+17 returns prvalues without creating 
temporaries; [1], first note.

1. https://en.cppreference.com/w/cpp/language/copy_elision





reply via email to

[Prev in Thread] Current Thread [Next in Thread]