On 12/17/13, Byron <[email protected]> wrote: > I don't know why we can't do this instead: > > if (foo in ["alpha", "beta", "delta"] ) {
You can come pretty close with: if (foo in A["alpha", "beta", "delta"] ) Here's the code: http://forum.dlang.org/thread/[email protected]#post-mailman.111.1325867961.16222.digitalmars-d:40puremagic.com
