ESPHome 2025.12.0-dev
Loading...
Searching...
No Matches
esphome::comparable_with Concept Reference

Functions to constrain the range of arithmetic values. More...

#include <helpers.h>

Concept definition

template<typename T, typename U>
concept esphome::comparable_with = requires(T a, U b) {
{ a > b } -> std::convertible_to<bool>;
{ a < b } -> std::convertible_to<bool>;
}
Functions to constrain the range of arithmetic values.
Definition helpers.h:1178

Detailed Description

Functions to constrain the range of arithmetic values.

Definition at line 1178 of file helpers.h.