An expression chain builder is an object which supplies various operator<< overloads which build chains of Expression Templates by prepending the templated ExpressionType to the source.
More...
|
constexpr | ExpressionChainBuilderWithRuntimeArgs (RuntimeArgs &&rtArgs) |
|
template<is::anyVctr Src> |
constexpr auto | operator<< (const Src &src) const |
| Returns an expression which holds a reference to the Vector passed in as source.
|
|
template<is::anyVctr Src> |
constexpr auto | operator<< (Src &src) const |
| Returns an expression which holds a reference to the Vector passed in as source.
|
|
template<is::anyVctr Src> |
constexpr auto | operator<< (Src &&src) const |
| Returns an expression which owns a the Vector passed in as source.
|
|
template<is::expression SrcExpression> |
constexpr auto | operator<< (SrcExpression &&e) const |
| Returns an expression which owns another Expression passed in as source.
|
|
template<is::expressionChainBuilder SrcExpressionChainBuilder> |
constexpr auto | operator<< (SrcExpressionChainBuilder srcExpressionChainBuilder) const |
| Returns an ExpressionChainBuilder instance which is the combination of the builder instance passed in, prepended by the expression represented by this builder.
|
|
template<template< size_t, class... > class ExpressionType, class RuntimeArgs, class... AdditionalCompileTimeParameters>
struct vctr::ExpressionChainBuilderWithRuntimeArgs< ExpressionType, RuntimeArgs, AdditionalCompileTimeParameters >
An expression chain builder is an object which supplies various operator<< overloads which build chains of Expression Templates by prepending the templated ExpressionType to the source.
Note that it is not the expression itself but rather contains all the information to instantiate the expression when a data source is prepended to it. This base class allows to store argument values needed by some expressions. Most expressions don't need that and can just instantiate a constexpr ExpressionChainBuilder instance. Others should create an instance using makeExpressionChainBuilderWithRuntimeArgs.
- See also
- ExpressionChainBuilder, makeExpressionChainBuilderWithRuntimeArgs
template<template< size_t, class... > class ExpressionType, class RuntimeArgs , class... AdditionalCompileTimeParameters>
template<is::expressionChainBuilder SrcExpressionChainBuilder>
Returns an ExpressionChainBuilder instance which is the combination of the builder instance passed in, prepended by the expression represented by this builder.