InExpression with custom type?
Leandro Motta Barros
lmb at stackedboxes.org
Fri Aug 23 12:57:16 PDT 2013
Hello!
Is it possible to make an InExpression work with a used-defined type?
struct MyCollection { ... }
MyCollection mc;
auto p = 123 in mc;
if (p) { ... }
Thanks!
LMB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130823/ea25443c/attachment.html>
More information about the Digitalmars-d-learn
mailing list