diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-09-02 21:39:49 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-09-02 21:39:49 +0200 |
commit | f8976fdbe0f87f6b2e3e09191ed0f268cc38d8e3 (patch) | |
tree | 303ac34cfd6bd4e346187fae8b8be0d6d40c67c7 /Eigen/src | |
parent | 92b9f0e102b35c3091bdeea3fc65f38f0e93c612 (diff) |
Make evaluators non-copyable. This guarantee that evaluators storing temporaries do not introduce unwanted copy overhead.
Diffstat (limited to 'Eigen/src')
-rw-r--r-- | Eigen/src/Core/CoreEvaluators.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/CoreEvaluators.h b/Eigen/src/Core/CoreEvaluators.h index 1541f940e..9b6a442e5 100644 --- a/Eigen/src/Core/CoreEvaluators.h +++ b/Eigen/src/Core/CoreEvaluators.h @@ -96,7 +96,7 @@ struct evaluator<const T> // ---------- base class for all evaluators ---------- template<typename ExpressionType> -struct evaluator_base +struct evaluator_base : public noncopyable { // TODO Check whether nestedType is really needed: // As long as evaluator are non-copyable, there is no reason to make it different. |