[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
Thu Oct 16 20:08:02 PDT 2014


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

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com

--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> ---
Probably the simplest way to implement this would be to make `tee` use
`unaryFun`, and, if necessary, add `opCall` support to `unaryFun` instead.

--


More information about the Digitalmars-d-bugs mailing list