#include <safe_conversions_impl.h>
Definition at line 191 of file safe_conversions_impl.h.
◆ RangeCheck() [1/2]
constexpr base::internal::RangeCheck::RangeCheck |
( |
bool |
is_in_lower_bound, |
|
|
bool |
is_in_upper_bound |
|
) |
| |
|
inlineconstexpr |
Definition at line 193 of file safe_conversions_impl.h.
194 : is_underflow_(!is_in_lower_bound), is_overflow_(!is_in_upper_bound) {}
◆ RangeCheck() [2/2]
constexpr base::internal::RangeCheck::RangeCheck |
( |
| ) |
|
|
inlineconstexpr |
◆ IsInvalid()
constexpr bool base::internal::RangeCheck::IsInvalid |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsOverflow()
constexpr bool base::internal::RangeCheck::IsOverflow |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsOverflowFlagSet()
constexpr bool base::internal::RangeCheck::IsOverflowFlagSet |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsUnderflow()
constexpr bool base::internal::RangeCheck::IsUnderflow |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsUnderflowFlagSet()
constexpr bool base::internal::RangeCheck::IsUnderflowFlagSet |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsValid()
constexpr bool base::internal::RangeCheck::IsValid |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator!=()
constexpr bool base::internal::RangeCheck::operator!= |
( |
const RangeCheck |
rhs | ) |
const |
|
inlineconstexpr |
◆ operator==()
constexpr bool base::internal::RangeCheck::operator== |
( |
const RangeCheck |
rhs | ) |
const |
|
inlineconstexpr |
Definition at line 202 of file safe_conversions_impl.h.
202 {
203 return is_underflow_ == rhs.is_underflow_ &&
204 is_overflow_ == rhs.is_overflow_;
205 }
The documentation for this class was generated from the following file: