version 0.4.1
Ikarus::Concepts::AddAble Concept Reference

Concept defining the requirements for types that support addition. More...

#include <ikarus/utils/concepts.hh>

Concept definition

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

Detailed Description

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

The concept specifies that instances of types L and R can be added using the + operator.