basedOpinionated utility library |
git clone git://git.dimitrijedobrota.com/based.git |
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |
commit | 1764b0bb7b6961815a06f24f00b0b912d356ffe9 |
parent | 31eba4c2cd13a3c48329fec3c6cbdb7fa993381b |
author | Dimitrije Dobrota < mail@dimitrijedobrota.com > |
date | Tue, 17 Jun 2025 01:10:53 +0200 |
strong operator base_type should be constexpr
M | include/based/types/strong.hpp | | | + - |
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ include/based/types/strong.hpp b/ include/based/types/strong.hpp
@@ -37,7 +37,7 @@
struct strong_type
{
}
explicit operator basic_type() const { return value; }
explicit constexpr operator basic_type() const { return value; }
constexpr strong_type(const strong_type&) = default;
constexpr strong_type(strong_type&&) = default;