CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::ComputationTraits::UpdateImpl< T_Lhs, T_Rhs, typename > Struct Template Reference

Perform the operation lhs += rhs. Default logic uses operator +=. More...

#include <computationTraits.hpp>

Public Types

using Lhs = T_Lhs
 See UpdateImpl.
 
using Return = Lhs&
 Deduced return type.
 
using Rhs = T_Rhs
 See UpdateImpl.
 

Static Public Member Functions

static Return update (Lhs &lhs, Rhs const &rhs)
 Perform lhs += rhs.
 

Detailed Description

template<typename T_Lhs, typename T_Rhs, typename = void>
struct codi::ComputationTraits::UpdateImpl< T_Lhs, T_Rhs, typename >

Perform the operation lhs += rhs. Default logic uses operator +=.

Simple specializations can be created with the macro CODI_CREATE_UPDATE.

Template Parameters
T_LhsType of the left hand side.
T_RhsType of the right hand side.

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