Generic assignement mechanism
@ggael
Submitted by Gael GuennebaudAssigned to Nobody
Link to original bugzilla bug (#110)
Version: 3.0
Description
While thinking about bug #99 (closed), I've been thinking that the assignment operator could also be an expression... but this would means that operator= would not return a reference to the "this" object, that is probably not a very good thing. So as an alternative I'd suggest to have an Assignment<Dest,Source> class that could be partially templated even outside Eigen to support any fancy assignment. This mechanism should support +=, -=, and similar operators.
For instance, that would allow us to simplify a lot our EigenBase and return-by-value mechanisms while proposing something even more generic and powerful.
Blocking
Edited by Eigen Bugzilla