== Quote from dsimcha (dsim...@yahoo.com)'s article > FWIW, if you can't use templates and auto ref, there is a (slightly verbose) > solution. DMD apparently allows overloading ref vs. non-ref, so you can > write a > forwarding function to bind to rvalues.
...except that I just realized it's broken for structs. http://d.puremagic.com/issues/post_bug.cgi