Explicit default constructor for structs

Dicebot public at dicebot.lv
Fri Apr 11 05:58:08 PDT 2014


On Thursday, 10 April 2014 at 21:23:43 UTC, monarch_dodra wrote:>
> *BUT*, if you happen to copy paste C++ code, and it *does* 
> compile, then it is pretty much expected to keep the same 
> resulting semantics, yes.

It does not work that way and has never worked. Think about class 
semantics for example.


More information about the Digitalmars-d mailing list