opApply and attributes
solidstate1991
laszloszeremi at outlook.com
Tue Jul 14 00:17:14 UTC 2020
On Tuesday, 7 July 2020 at 20:53:05 UTC, Ali Çehreli wrote:
> I am not sure whether I understand it correctly but there has
> been a request for opApply() to gain the attributes of the
> delegate (or the range?). In other words, "transfer the
> attributes to opApply". This is needed because I want opApply()
> to work with any foreach body, attributes of which opApply()
> cannot know.
>
> I am sure I created an issue on Dlang bug tracker for Weka on
> this topic but I can't find it now. (Aside: The search boxes on
> the bug tracker are inferior to the automatic search feature
> that works when creating a bug.) Anyway, this one seems related:
>
> https://issues.dlang.org/show_bug.cgi?id=7543
>
> Ali
Something like that, but with @safe, pure, etc. attributes.
More information about the Digitalmars-d-learn
mailing list