21 #ifndef RFFGEN_CONSTANT_HH
22 #define RFFGEN_CONSTANT_HH
24 #include "Util/base.hh"
25 #include "Util/chainer.hh"
32 template <
class>
struct ArithmeticConceptCheck;
40 template <
class Type,
class = ArithmeticConceptCheck<Type> >
41 struct Constant :
Base , Chainer< Constant<Type , ArithmeticConceptCheck<Type> > >
50 const Type&
d0() const noexcept
81 #endif // RFFGEN_CONSTANT_HH
const Type & d0() const noexcept
Function value.
Definition: constant.hh:50
auto constant(const Arg &x)
Wrap a constant.
Definition: constant.hh:75
Base class for functions satisfying FunctionConcept. Required for enabling the operators in generate...
Definition: base.hh:27
auto constRef(const Arg &x)
Generate a constant function that stores its argument as constant reference.
Definition: constant.hh:65
Wrap a constant.
Definition: constant.hh:41
Constant(Type const &t_)
Construct constant from copy.
Definition: constant.hh:46