Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Static Public Member Functions | List of all members
CompileTimeDerivatives::CTBase Class Reference

All compile time derivative system objects derive from this (empty) base class. More...

#include <CompileTimeDerivatives.h>

Inheritance diagram for CompileTimeDerivatives::CTBase:
[legend]

Static Public Member Functions

static constexpr int precedence ()
 precedence should reflect C++ operator precedence exactly (higher is binding tighter) More...
 
static constexpr bool leftAssociative ()
 left/right associative property should reflect C++ operator properties exactly More...
 

Detailed Description

All compile time derivative system objects derive from this (empty) base class.

This allows to restrict templated operators to only act on compile time derivative system objects (using std::enable_if).

Definition at line 25 of file CompileTimeDerivatives.h.

Member Function Documentation

◆ leftAssociative()

static constexpr bool CompileTimeDerivatives::CTBase::leftAssociative ( )
inlinestatic

left/right associative property should reflect C++ operator properties exactly

Definition at line 31 of file CompileTimeDerivatives.h.

31 { return false; }

◆ precedence()

static constexpr int CompileTimeDerivatives::CTBase::precedence ( )
inlinestatic

precedence should reflect C++ operator precedence exactly (higher is binding tighter)

Definition at line 29 of file CompileTimeDerivatives.h.

29 { return 0; }

The documentation for this class was generated from the following file: