www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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



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
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3484


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow gmail.com



23:41:49 PDT ---
https://github.com/D-Programming-Language/phobos/pull/211

Note that Address.name() can't be const, since it can be used (and is used,
within std.socket) to populate the Address data.

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