Mir
|
#include <dimensions.h>
Public Types | |
template<typename OtherTag > | |
using | Corresponding = IntWrapper< OtherTag > |
![]() | |
using | ValueType = T |
using | TagType = Tag |
template<typename OtherTag > | |
using | Corresponding = Wrapper< OtherTag > |
Public Member Functions | |
constexpr | IntWrapper () |
constexpr uint32_t | as_uint32_t () const |
![]() | |
template<typename Q = T> | |
constexpr std::enable_if< std::is_integral< Q >::value, int >::type | as_int () const |
constexpr T | as_value () const noexcept |
constexpr | Wrapper () noexcept |
Wrapper & | operator= (Wrapper const &that) noexcept |
constexpr | Wrapper (Wrapper const &that) noexcept |
template<typename W , typename std::enable_if< std::is_same< typename W::TagType, Tag >::value, bool >::type = true> | |
constexpr | Wrapper (W const &value) noexcept |
template<typename U , typename std::enable_if< std::is_scalar< U >::value, bool >::type = true> | |
constexpr | Wrapper (U const &value) noexcept |
constexpr auto | operator== (Wrapper< Tag > const &rhs) const -> bool |
constexpr auto | operator!= (Wrapper< Tag > const &rhs) const -> bool |
constexpr auto | operator<= (Wrapper< Tag > const &rhs) const -> bool |
constexpr auto | operator>= (Wrapper< Tag > const &rhs) const -> bool |
constexpr auto | operator< (Wrapper< Tag > const &rhs) const -> bool |
constexpr auto | operator> (Wrapper< Tag > const &rhs) const -> bool |
Additional Inherited Members | |
![]() | |
T | value |
using mir::geometry::detail::IntWrapper< Tag >::Corresponding = IntWrapper<OtherTag> |
|
inlineconstexpr |
|
inlineconstexpr |
Copyright © 2012-2022
Canonical Ltd.
Generated on Thu Jul 21 23:32:06 UTC 2022
This documentation is licensed under the GPL version 2 or 3.