Rainer Deyke wrote: > Boost.Units (C++) checks units at compile time. There is no reason why > D could not use the same approach. Oskar's code I posted does it at compile time.