Struct default constructor - need some kind of solution for C++ interop
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Sun Sep 11 04:33:14 PDT 2016
On Sunday, 11 September 2016 at 08:37:56 UTC, deadalnix wrote:
> On Sunday, 11 September 2016 at 06:09:01 UTC, Dicebot wrote:
>> Presence of compile-time valid T.init for any type T is
>> absolutely critical for generic programming and must not be
>> compromised.
>
> WAT ?
Vast amount of traits operate on is(typeof(do stuff with T.init))
- all of them will return false negative for types with init
disabled.
More information about the Digitalmars-d
mailing list