rvalue types

Shachar Shemesh shachar at weka.io
Mon Mar 12 18:04:07 UTC 2018


On 12/03/18 16:31, Simen Kjærås wrote:
> The main idea behind rvalue types and their name, is that they are types 
> that can only ever be rvalues, not by convention, but through the type 
> system.

How do you prevent creating a named instance of them using either auto 
or ReturnType!func ?

Shachar


More information about the Digitalmars-d mailing list