[Ns-bugs] [Bug 83] Smart pointers don't interact well with STL containers
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Fri Oct 5 11:10:41 PDT 2007
http://www.nsnam.org/bugzilla/show_bug.cgi?id=83
------- Comment #2 from gjcarneiro at gmail.com 2007-10-05 14:10 -------
OK, it really was operator < missing. OK to commit this?
template <typename T>
bool operator < (Ptr<T> const &lhs, Ptr<T> const &rhs)
{
return PeekPointer<T> (lhs) < PeekPointer<T> (rhs);
}
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list