delpi  0.0.1
DElta-complete LP solver
Loading...
Searching...
No Matches
delpi::Numeric Concept Reference

Check if the type T supports the arithmetic operations +, -, *, / and the comparison operators <, >, <=, >=. More...

#include <concepts.h>

Concept definition

template<class T>
concept Numeric = std::totally_ordered<T> && Arithmetic<T>
Check if the type T supports the arithmetic operations +, -, *, /.
Definition concepts.h:141
Check if the type T supports the arithmetic operations +, -, *, / and the comparison operators <,...
Definition concepts.h:158

Detailed Description

Check if the type T supports the arithmetic operations +, -, *, / and the comparison operators <, >, <=, >=.

template <Numeric T>
void foo(T a); // a can be added, subtracted, multiplied, divided and ordered with the corresponding operator
Template Parameters
Ttype to check

Definition at line 158 of file concepts.h.