← Back to index
|
Original Bugzilla link
Bug 11842 – Operator overloading of named mixin templates
Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-29T13:50:54Z
Last change time
2024-12-13T18:15:28Z
Keywords
rejects-valid
Assigned to
No Owner
Creator
Vladimir Panteleev
Moved to GitHub: dmd#18744 →
Comments
Comment #0
by dlang-bugzilla — 2013-12-29T13:50:54Z
This code ought to work: mixin template M() { bool opIn_r(int i) { return true; } } struct S { mixin M m; } void main() { S s; assert(5 in s.m); }
Comment #1
by andrej.mitrovich — 2014-02-14T12:59:20Z
*** Issue 12159 has been marked as a duplicate of this issue. ***
Comment #2
by simen.kjaras — 2020-05-25T12:25:16Z
See also issue 5158.
Comment #3
by robert.schadek — 2024-12-13T18:15:28Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/18744
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB