dsimcha wrote:
Well, now that I understand your proposal a little better, it makes sense. I had wondered why the current AA implementation uses RTTI instead of templates. Even better would be if only the default implementation were in Object, and a user could somehow override which implementation of AA is given the blessing of pretty syntax by some pragma or export alias or something, as long as the implementation conforms to some specified compile-time interface.
Great! For now, I'd be happy if at least the user could hack their import path to include their own object.d before the stock object.d. Then people can use straight D to implement the AssocArray they prefer. Further improvements of the scheme will then become within reach!
Andrei