[Issue 13571] Overload of std.range.tee which accepts a functions does not accept structs or classes with opCall

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 5 05:43:51 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13571

monkeyworks12 at hotmail.com changed:

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

--- Comment #1 from monkeyworks12 at hotmail.com ---
I tried adding support for opCall to tee, and I ran into some problems. As you
can just pass the struct/object with opCall to the overload of tee that takes
an output range as a function argument, the extra complexity that's necessary
to support taking structs/objects with opCall as a template argument is not
worth it IMO. Therefore, I'm going to close this.

--


More information about the Digitalmars-d-bugs mailing list