Conditional nothrow/safe/nogc/etc?

Matt Elkins via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 29 21:37:07 PST 2016


On Saturday, 30 January 2016 at 05:25:49 UTC, Rikki Cattermole 
wrote:
> On 30/01/16 6:17 PM, Matt Elkins wrote:
>> [...]
>
> templated functions have attribute inference. Meaning if it can 
> be nothrow it will be.
> Regarding your real use case, again struct if templated so it 
> should be inferred.

Convenient! Thanks!


More information about the Digitalmars-d-learn mailing list