From 81698f02e5a43547ee074cfb13ec388ea29fed9a Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 4 Sep 2023 11:16:25 +0200 Subject: [PATCH] feat(example): `validated_type` now properly registers as a scalar type --- example/include/validated_type.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/example/include/validated_type.h b/example/include/validated_type.h index 2cf8cc715..2f09563db 100644 --- a/example/include/validated_type.h +++ b/example/include/validated_type.h @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -100,6 +101,9 @@ class validated_type { = default; }; +template +inline constexpr bool mp_units::is_scalar> = mp_units::is_scalar; + template std::basic_ostream& operator<<(std::basic_ostream& os,