[Issue 3484] New: std.socket.Address hierarchy not const-safe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 7 03:01:50 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3484

           Summary: std.socket.Address hierarchy not const-safe
           Product: D
           Version: 2.034
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: Justin.SpahrSummers at gmail.com


--- Comment #0 from Justin Spahr-Summers <Justin.SpahrSummers at gmail.com> 2009-11-07 05:01:49 CST ---
The methods of the std.socket.Address and std.socket.InternetAddress classes
are not qualified const; thus, when trying to use const-safe structures
containing addresses, a lot of casts are required. This problem is exacerbated
by the fact that addresses aren't value types (structs).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list