struct vs. class

David B. Held dheld at codelogicconsulting.com
Tue May 29 22:33:15 PDT 2007


Martin wrote:
> [...]
> But if I understand it correctly the only points where problems can occur
> are in casts. This means that it should be possible to implement safeguards
> since for a value the type has to be known at compile time anyways whereas
> a reference will have RTTI.
> [...]

I guess my problem is lack of motivation.  I'm just not seeing the use 
cases you are, so I don't see this part of the design space as lacking. 
  Can you show us where you would like to use this feature and how it is 
better than the way things are now?

Dave



More information about the Digitalmars-d mailing list