|
Expression Templates Library (ETL)
|
Simple traits to test if an expression is optimizable. More...
#include <optimizer.hpp>
Static Public Member Functions | |
| static bool | is ([[maybe_unused]] const Expr &expr) |
| Indicates if the given expression is optimizable or not. More... | |
| static bool | is_deep ([[maybe_unused]] const Expr &expr) |
| Indicates if the given expression or one of its sub expressions is optimizable or not. More... | |
Simple traits to test if an expression is optimizable.
The default traits implementation return false for each expression. The traits should be specialized for each optimizable expression.
|
inlinestatic |
Indicates if the given expression is optimizable or not.
| expr | The expression to test |
|
inlinestatic |
Indicates if the given expression or one of its sub expressions is optimizable or not.
| expr | The expression to test |
1.8.13