fp
Functional Programming extensions to C++ for ROS projects.
|
#include <validate.hpp>
Public Member Functions | |
constexpr Result< T > | operator() (T value, std::string const &name) const |
Public Attributes | |
T | from = std::numeric_limits<T>::min() |
T | to = std::numeric_limits<T>::max() |
std::optional< T > | step = std::nullopt |
double | step_threshold = 1e-3 |
Definition at line 52 of file validate.hpp.
|
inlineconstexpr |
Definition at line 58 of file validate.hpp.
T fp::validate_range< T >::from = std::numeric_limits<T>::min() |
Definition at line 53 of file validate.hpp.
std::optional<T> fp::validate_range< T >::step = std::nullopt |
Definition at line 55 of file validate.hpp.
double fp::validate_range< T >::step_threshold = 1e-3 |
Definition at line 56 of file validate.hpp.
T fp::validate_range< T >::to = std::numeric_limits<T>::max() |
Definition at line 54 of file validate.hpp.