TDPL says it should work for any type. http://d.puremagic.com/issues/show_bug.cgi?id=3382
2010/9/1 Nick Sabalausky <a...@a.a>: > "dsimcha" <dsim...@yahoo.com> wrote in message > news:i5jtdn$1g4...@digitalmars.com... >> >> Isn't this a core language feature that's in the spec but is only >> currently >> implemented for arrays? I thought eventually uniform function call syntax >> was >> coming for classes and structs, too. > > I've been really wishing for a long time that would actually happen. It's > annoying enough not to be able to do it for most types, but then the fact > that it's special-cased at all is a bit of a bizarre inconsistency. > > >