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. | |
Perform the operation lhs += rhs. Default logic uses operator +=.
Simple specializations can be created with the macro CODI_CREATE_UPDATE.
| T_Lhs | Type of the left hand side. |
| T_Rhs | Type of the right hand side. |