struct inheritance need?

Sergey Gromov snake.scaly at gmail.com
Fri Dec 19 05:43:41 PST 2008


Thu, 18 Dec 2008 18:36:07 -0500, Christopher Wright wrote:

> Weed wrote:
>> Compile-time creation an object of class or (most likely wrong) struct 
>> inheritance.
>> 
>> I have prepared a distinct feature request and send it later
> 
> You aren't providing a use case, though. Why not show an example (actual 
> code) of what you would do if you had this ability?

static invariant Identity = new Matrix([[1,0,0], [0,1,0], [0,0,1]]);


More information about the Digitalmars-d-learn mailing list