![]() |
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) |
| template<Int O> | |
| constexpr QCheckedInt & | operator*= (std::integral_constant< Int, O > 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) |
| template<Int RHS> | |
| constexpr QCheckedInt | operator* (QCheckedInt lhs, std::integral_constant< Int, RHS > rhs) |
| template<Int LHS> | |
| constexpr QCheckedInt | operator* (std::integral_constant< Int, LHS > 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 85 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 94 of file qcheckedint_impl.h.
|
default |
|
inlineexplicitconstexprnoexcept |
Definition at line 98 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 115 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 113 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 116 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 114 of file qcheckedint_impl.h.
|
inlineexplicitconstexprnoexcept |
Definition at line 103 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 247 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 241 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 268 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 119 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 128 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 135 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 183 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 177 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 120 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 142 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 149 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 215 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 209 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 300 of file qcheckedint_impl.h.
|
inlineconstexpr |
Definition at line 294 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 111 of file qcheckedint_impl.h.
|
inlineconstexprnoexcept |
Definition at line 109 of file qcheckedint_impl.h.
|
friend |
Definition at line 314 of file qcheckedint_impl.h.
|
friend |
Definition at line 308 of file qcheckedint_impl.h.
|
friend |
Definition at line 325 of file qcheckedint_impl.h.
|
friend |
Definition at line 319 of file qcheckedint_impl.h.
|
friend |
Definition at line 236 of file qcheckedint_impl.h.
|
friend |
Definition at line 230 of file qcheckedint_impl.h.
|
friend |
Definition at line 221 of file qcheckedint_impl.h.
|
friend |
Definition at line 253 of file qcheckedint_impl.h.
|
friend |
Definition at line 262 of file qcheckedint_impl.h.
|
friend |
Definition at line 172 of file qcheckedint_impl.h.
|
friend |
Definition at line 166 of file qcheckedint_impl.h.
|
friend |
Definition at line 157 of file qcheckedint_impl.h.
|
friend |
Definition at line 204 of file qcheckedint_impl.h.
|
friend |
Definition at line 198 of file qcheckedint_impl.h.
|
friend |
Definition at line 189 of file qcheckedint_impl.h.
|
friend |
Definition at line 289 of file qcheckedint_impl.h.
|
friend |
Definition at line 283 of file qcheckedint_impl.h.
|
friend |
Definition at line 274 of file qcheckedint_impl.h.