[Ns-bugs] [Bug 277] star topologies are painful to create

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Sun Aug 10 10:50:34 PDT 2008


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





------- Comment #6 from tomh at tomh.org  2008-08-10 13:50 -------
(In reply to comment #5)
> (In reply to comment #4)
> 
> > On the other hand, in case they _do_ need it (which I think is the more common
> > scenario), they will be forced to decode the meaning of the std::pair.  What
> > does 'first' hold, what does 'second' hold?  At least with output parameters,
> > the parameter names make it clearer.
> 
> Hence my earlier suggestion to use a non-std::container: NetDeviceContainerPair
> or something. Maybe StarContainer.
> 

I don't care strongly; I probably lean towards Gustavo's suggestion of output
parameters since I think it is most likely that users will want handles to
these containers later.


-- 
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