On Sun, Dec 28, 2008 at 11:50 AM, Don <[email protected]> wrote: > So, please post any use cases which you consider convincing.
Virtually all I use it for is making containers. I do almost no numerical programming. I would probably not miss much if all I could overload were opIndex[Assign], opSlice[Assign], opCat[Assign], and opApply. As you've noted before, overloading of the arithmetic operators isn't useful when you only have access to two operands. It seems like an AST transformation (macros!) on mathematical transformations into possibly-compound operations would be much more useful than plain old operator overloading. We're already forced to use expression templates to do anything useful with operator overloading; why not put a more general, efficient, concise form of that in the language itself?
