[Ns-bugs] [Bug 445] Is the class name Scalar in nstime.h appropriate?

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Jul 8 01:40:48 PDT 2010


http://www.nsnam.org/bugzilla/show_bug.cgi?id=445





--- Comment #7 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr>  2010-07-08 04:40:48 EDT ---
(In reply to comment #6)

> +// Scalar is deprecated; use TimeUnit<0> or TimeScaleFactor instead
> typedef TimeUnit<0> Scalar;
> + typedef TimeUnit<0> TimeScaleFactor;
> typedef TimeUnit<-1> TimeInvert;
> typedef TimeUnit<2> TimeSquare;
> 
> and make a pass through the codebase changing "Scalar" to "TimeUnit<0>" (as
> Craig suggested) or "TimeScaleFactor", and just stop using Scalar in our
> codebase (but leave in for backward compatibility).

I would be fine with the above.

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list