[Ns-bugs] [Bug 419] New: *Helper::SetAttribute* methods sometimes painful to use

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Nov 25 02:05:19 PST 2008


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

           Summary: *Helper::SetAttribute* methods sometimes painful to use
           Product: ns-3
           Version: pre-release
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: helpers
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: mathieu.lacage at sophia.inria.fr
   Estimated Hours: 0.0


It would be nice if we could overload our SetAttribute methods to provide a
version like this
SetAttribute (std::string name, std::string value)
{
  SetAttribute (name, StringValue (value));
}

This is purely syntactical sugar, I know.


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