mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-03 01:04:23 +08:00
Make evaluators non-copyable. This guarantee that evaluators storing temporaries do not introduce unwanted copy overhead.
This commit is contained in:
parent
92b9f0e102
commit
f8976fdbe0
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user