[Issue 11340] ElementType and ElementEncodingType return oddly qualified element types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 24 07:40:13 PDT 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-10-24 07:40:12 PDT ---
As commented here:
https://github.com/D-Programming-Language/phobos/pull/1660#discussion_r7189412

> dstring is a non-narrows string. Because of this, calling front gives you an 
> lvalue of the actual elements, as opposed to narrows strings, which give you 
> decoded dchar: They're mutable, but rvalues.

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