27 bool contains(uint64_t value,
bool strict =
true)
const {
29 return low <= value && value <
high;
31 return low <= value && value <=
high;
38 friend bool operator==(
const range_t& lhs,
const range_t& rhs) {
42 friend bool operator!=(
const range_t& lhs,
const range_t& rhs) {
47 std::ostream&
operator<<(std::ostream& os,
const range_t& range);
LIEF namespace.
Definition Abstract/Binary.hpp:36
friend std::ostream & operator<<(std::ostream &os, const range_t &range)
uint64_t size() const
Definition range.hpp:34
uint64_t low
Definition range.hpp:24
uint64_t high
Definition range.hpp:25
friend bool operator==(const range_t &lhs, const range_t &rhs)
Definition range.hpp:38
bool contains(uint64_t value, bool strict=true) const
Definition range.hpp:27
friend bool operator!=(const range_t &lhs, const range_t &rhs)
Definition range.hpp:42
#define LIEF_API
Definition visibility.h:41