basedOpinionated utility library |
git clone git://git.dimitrijedobrota.com/based.git |
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |
commit | 10d02479b65711884e60d257ce102d46e9bbfa22 |
parent | 7929424d4d515341538266d94fc36099666d7f7c |
author | Dimitrije Dobrota < mail@dimitrijedobrota.com > |
date | Thu, 29 May 2025 19:38:03 +0200 |
Convinience conversion for strong types
M | include/based/types/strong.hpp | | | ++ |
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ include/based/types/strong.hpp b/ include/based/types/strong.hpp
@@ -32,6 +32,8 @@
struct strong_type
{
}
explicit operator basic_type() const { return value; }
constexpr strong_type(const strong_type&) = default;
constexpr strong_type(strong_type&&) = default;