Classes in D and C++

BCS BCS at pathlink.com
Mon Mar 5 08:59:04 PST 2007


Andy Little wrote:
> Lionello Lunesu Wrote:
> 
> 
>>SomeType st = 2;//construction
>>
>>No need for constructors ;)
> 
> 
> OK, To explain why I don't want to allow this syntax I need to explain som of how the quan library works.
> 
> Its main purpose is to catch errors in dimensional analysis.
> 

Take a look at this lib. It does most of what I see your lib doing and 
might give you some ides on how to make yours work in D.

http://www.csc.kth.se/~ol/physical.d



More information about the Digitalmars-d mailing list