Static struct initialization syntax behavior & it being disabled upon adding a constructor
    zjh 
    fqbqrr at 163.com
       
    Mon Apr 18 13:42:17 UTC 2022
    
    
  
On Monday, 18 April 2022 at 13:21:44 UTC, zjh wrote:
> I hope that d can support it like `C++`.
`Struct` and `class` behavior is inconsistent.
`Constructors` sometimes have initialize behavior.
If D doesn't think about `C++` users, `C++` users feel too 
troublesome, can't understand, and the cognitive burden is too 
heavy.
    
    
More information about the Digitalmars-d-learn
mailing list