[Issue 11782] format pointer to range prints range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 19 14:12:51 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11782



--- Comment #3 from monarchdodra at gmail.com 2013-12-19 14:12:51 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> 
> > This is not documented behavior. The documented behavior is simply:
> > "Pointers are formatted as hex integers."
> 
> The fun is that a pointer to a range is a range. It naturally supports all of
> primitives.

Also (but off topic here), while the slicing operator is still supported, the
slice-able *trait* becomes lost, as the returned type (R) won't match the used
type (R*).

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


More information about the Digitalmars-d-bugs mailing list