![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qcheckedint_impl.h>
Public Types | |
| template<typename AInt> | |
| using | if_is_same_int = std::enable_if_t<std::is_same_v<Int, AInt>, bool> |
Public Member Functions | |
| QCheckedInt ()=default | |
| constexpr | QCheckedInt (Int i) noexcept |
| constexpr | operator Int () const noexcept |
| constexpr Int | value () const noexcept |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr void | setValue (AInt i) noexcept |
| constexpr Int & | as_underlying () &noexcept |
| constexpr const Int & | as_underlying () const &noexcept |
| constexpr Int && | as_underlying () &&noexcept |
| constexpr const Int && | as_underlying () const &&noexcept |
| constexpr QCheckedInt | operator+ () const noexcept |
| constexpr QCheckedInt | operator- () const |
| constexpr QCheckedInt & | operator++ () |
| constexpr QCheckedInt | operator++ (int) |
| constexpr QCheckedInt & | operator-- () |
| constexpr QCheckedInt | operator-- (int) |
| constexpr QCheckedInt & | operator+= (QCheckedInt other) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt & | operator+= (AInt other) |
| constexpr QCheckedInt & | operator-= (QCheckedInt other) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt & | operator-= (AInt other) |
| constexpr QCheckedInt & | operator*= (QCheckedInt other) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt & | operator*= (AInt other) |
| constexpr QCheckedInt & | operator/= (QCheckedInt other) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt & | operator/= (AInt other) |
Friends | |
| constexpr QCheckedInt | operator+ (QCheckedInt lhs, QCheckedInt rhs) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt | operator+ (QCheckedInt lhs, AInt rhs) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt | operator+ (AInt lhs, QCheckedInt rhs) |
| constexpr QCheckedInt | operator- (QCheckedInt lhs, QCheckedInt rhs) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt | operator- (QCheckedInt lhs, AInt rhs) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt | operator- (AInt lhs, QCheckedInt rhs) |
| constexpr QCheckedInt | operator* (QCheckedInt lhs, QCheckedInt rhs) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt | operator* (QCheckedInt lhs, AInt rhs) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt | operator* (AInt lhs, QCheckedInt rhs) |
| constexpr QCheckedInt | operator/ (QCheckedInt lhs, QCheckedInt rhs) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt | operator/ (QCheckedInt lhs, AInt rhs) |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr QCheckedInt | operator/ (AInt lhs, QCheckedInt rhs) |
| constexpr bool | comparesEqual (QCheckedInt lhs, QCheckedInt rhs) noexcept |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr bool | comparesEqual (QCheckedInt lhs, AInt rhs) noexcept |
| constexpr Qt::strong_ordering | compareThreeWay (QCheckedInt lhs, QCheckedInt rhs) noexcept |
| template<typename AInt, if_is_same_int< AInt > = true> | |
| constexpr Qt::strong_ordering | compareThreeWay (QCheckedInt lhs, AInt rhs) noexcept |
Definition at line 77 of file qcheckedint_impl.h.
| using QtPrivate::QCheckedIntegers::QCheckedInt< Int, Impl, FailureReportPolicy >::if_is_same_int = std::enable_if_t<std::is_same_v<Int, AInt>, bool> |
Definition at line 86 of file qcheckedint_impl.h.
|
default |
|
inlineexplicitconstexprnoexcept |
Definition at line 90 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 107 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 105 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 108 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 106 of file qcheckedint_impl.h.
|
inlineexplicitconstexprnoexcept |
Definition at line 95 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 239 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 233 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 111 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 120 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 127 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 175 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 169 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 112 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 134 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 141 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 207 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 201 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 271 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 265 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 103 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 101 of file qcheckedint_impl.h.
|
friend |
Definition at line 285 of file qcheckedint_impl.h.
|
friend |
Definition at line 279 of file qcheckedint_impl.h.
|
friend |
Definition at line 296 of file qcheckedint_impl.h.
|
friend |
Definition at line 290 of file qcheckedint_impl.h.
|
friend |
Definition at line 228 of file qcheckedint_impl.h.
|
friend |
Definition at line 222 of file qcheckedint_impl.h.
|
friend |
Definition at line 213 of file qcheckedint_impl.h.
|
friend |
Definition at line 164 of file qcheckedint_impl.h.
|
friend |
Definition at line 158 of file qcheckedint_impl.h.
|
friend |
Definition at line 149 of file qcheckedint_impl.h.
|
friend |
Definition at line 196 of file qcheckedint_impl.h.
|
friend |
Definition at line 190 of file qcheckedint_impl.h.
|
friend |
Definition at line 181 of file qcheckedint_impl.h.
|
friend |
Definition at line 260 of file qcheckedint_impl.h.
|
friend |
Definition at line 254 of file qcheckedint_impl.h.
|
friend |
Definition at line 245 of file qcheckedint_impl.h.