Compat number representation class. More...
#include <uhd/utils/compat_check.hpp>
Public Member Functions | |
constexpr | compat_num (major_type major, minor_type minor) |
major_type | get_major () const |
major_type | get_minor () const |
bool | operator== (const compat_num< major_type, minor_type > &rhs) const |
bool | operator!= (const compat_num< major_type, minor_type > &rhs) const |
bool | operator< (const compat_num< major_type, minor_type > &rhs) const |
bool | operator<= (const compat_num< major_type, minor_type > &rhs) const |
bool | operator> (const compat_num< major_type, minor_type > &rhs) const |
bool | operator>= (const compat_num< major_type, minor_type > &rhs) const |
std::string | to_string () const |
Protected Attributes | |
major_type | _major |
minor_type | _minor |
Compat number representation class.
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |