www.digitalmars.com         C & C++   DMDScript  

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

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 puremagic.com
        ReportedBy: Justin.SpahrSummers gmail.com


--- Comment #0 from Justin Spahr-Summers <Justin.SpahrSummers 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: -------
Nov 07 2009