version 0.4.1
Ikarus::Concepts::AddAssignAble Concept Reference

Concept defining the requirements for types that support in-place addition. More...

#include <ikarus/utils/concepts.hh>

Concept definition

template<typename L, typename R>
concept Ikarus::Concepts::AddAssignAble = requires(L x, R y) { x += y; }
Concept defining the requirements for types that support in-place addition.
Definition: concepts.hh:299

Detailed Description

Template Parameters
LType of the left operand.
RType of the right operand.

The concept specifies that instances of type L can be added in-place by instances of type R using the += operator.