1#ifndef SANISIZER_GENERICS_HPP
2#define SANISIZER_GENERICS_HPP
22template<
typename Value_>
24 if constexpr(std::is_integral<Value_>::value) {
38template<
typename Value_>
40 if constexpr(std::is_integral<Value_>::value) {
41 return std::numeric_limits<Value_>::max();
Specify compile-time bounds on integers.
Specify a constant integer.
Sanitize sizes to avoid integer overflow.
Definition Bounded.hpp:15
constexpr auto get_value(const Value_ x)
Definition generics.hpp:23
constexpr auto get_max()
Definition generics.hpp:39
Definition Bounded.hpp:64
Definition Constant.hpp:46