[Ns-bugs] [Bug 385] Add a generic "sequence number" class
code at nsnam.ece.gatech.edu
Fri Jun 18 12:02:30 PDT 2010
--- Comment #22 from Tom Henderson <tomh at tomh.org> 2010-06-18 15:02:29 EDT ---
(In reply to comment #21)
> I have no idea how to make a class compatible with TracedValue. But I am
> assuming implementing C++ operators or not is a completely orthogonal issue to
> making the class traceable.
I guess that the operator issue is somewhat related in the sense that if we
just provide methods to manipulate unsigned integers, there is no need to
create a separate SequenceNumber type and the issue goes away.
Ideally I would like something like your class but traceable in the way that
Craig specified in his comment, but I don't know how easy that would be so I am
guessing we are going to have to make choices about priorities.
My sense is that, with the SequenceNumber class, we could have standard
operators like you want and address Mathieu's concern about implementing all
operators by declaring the unimplemented standard ones to be private, which I
guess may have been your comment #5.
But in any case, it would be nice to try to resolve this now especially since
we're considering a new TCP implementation now.
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs