Struct default constructor - need some kind of solution for C++ interop

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 7 16:39:30 PDT 2016


On 9/7/2016 4:17 PM, Joseph Rushton Wakeling wrote:
> Potentially naive question, but is there any reason why, if a default
> constructor exists, S.init shouldn't just be the same as the result of calling
> the default constructor?

So every instance of Mutex shares the same mutex?


More information about the Digitalmars-d mailing list