Class template for creating strong type aliases.
More...
#include <strong_type.hpp>
|
constexpr | StrongType (T value) |
| Construct from any type.
|
|
constexpr T & | get () |
| Get non-const reference to underlying value.
|
|
constexpr const T & | get () const |
| Get const reference to underlying value.
|
|
constexpr | operator T () const |
| Explicit conversion to underlying type.
|
|
template<typename T, typename Tag>
class rsl::StrongType< T, Tag >
Class template for creating strong type aliases.
- Template Parameters
-
T | value type |
Tag | Tag type to disambiguate separate type aliases |
The documentation for this class was generated from the following file: