[Issue 5354] formatValue: range templates introduce 3 bugs related to class & struct cases

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 24 06:29:06 PST 2011


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



--- Comment #17 from Max Samukha <samukha at voliacable.com> 2011-01-24 06:27:00 PST ---
(In reply to comment #16)
> 
> It is an obvious choice: programmers explicitely define toString (later,
> writeTo) precisely for that ;-)
> 
> Denis

I agree that user-specified toString should take precedence over the ranges.
What I wanted to point out is that static checks for classes are not enough.

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