On Monday, April 09, 2012 23:51:00 Nick Sabalausky wrote: > This issue went away when I fixed my code to have *both* the ref and non-ref > overloads of opCmp/opEquals/etc.
Yeah, it's looking like both of those overloads will be required for pretty much any function which has an overload which takes const ref as long as auto ref doesn't work with non-templated functions. And if auto ref never ends up working with non-templated functions, then we're going to have to be duplicating const ref functions as a matter of course. It's just highlighted by the fact that opEquals and opCmp are so prominent. - Jonathan M Davis _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
