[Issue 3123] std.algorithm.zip fails on 'lazy' ranges

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 25 15:30:38 PDT 2009


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


David Simcha <dsimcha at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsimcha at yahoo.com


--- Comment #1 from David Simcha <dsimcha at yahoo.com> 2009-10-25 15:30:37 PDT ---
The problem looks to be a question of whether range.front is an lvalue or not. 
When range.front is an lvalue, DMD interprets &range.front as taking the
address of the front element of the range.  When range.front is not an lvalue,
DMD interprets &range.front as taking the address of the member function
front() of range.

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