Summary: | Returning by const value prohibits r-value optimizations. | ||
---|---|---|---|
Product: | Eigen | Reporter: | Emily <el> |
Component: | Core - general | Assignee: | Nobody <eigen.nobody> |
Status: | NEW --- | ||
Severity: | Optimization | CC: | chtz, gael.guennebaud, jacob.benoit.1 |
Priority: | Normal | ||
Version: | 3.2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Emily
2015-10-13 09:53:20 UTC
Actually, most Eigen's functions return proxy objects (aka expressions), for which move semantic does not apply anyway. So this would only concern a few functions, like normalized(), and some in the Geometry modules... and for them, it would be better to return an expression too. In the meantime, we could still change the constness with respect to the enabled C++ standard. -- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1087. |