digitalmars.D.learn - What's wrong in this templatized operator overload ?
- MobPassenger (12/12) Oct 21 2015 code:
- MobPassenger (4/5) Oct 21 2015 Plz don't reply, there's been a forum bug while posting. Full
- Vladimir Panteleev (2/6) Oct 21 2015 What forum bug would that be?
code: --- struct Foo { bool opIn_r(T)(T t){return false;} } static immutable Foo foo; // ouch //static Foo foo; // OK void main() { assert("a" !in foo); }
Oct 21 2015
On Thursday, 22 October 2015 at 03:18:25 UTC, MobPassenger wrote:code:Plz don't reply, there's been a forum bug while posting. Full post is here: http://forum.dlang.org/thread/kaqyeiakjunqoexoskrw forum.dlang.org
Oct 21 2015
On Thursday, 22 October 2015 at 03:21:35 UTC, MobPassenger wrote:On Thursday, 22 October 2015 at 03:18:25 UTC, MobPassenger wrote:What forum bug would that be?code:Plz don't reply, there's been a forum bug while posting.
Oct 21 2015