Andrei Alexandrescu <[email protected]> wrote:
assert( convert!years( months( 24 ) ) == 2 );This would be the case if we go with separate types for duration units (years, months,...), but not if we use long throughout.
Or if months() is a function returning the appropriate long. -- Simen _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
