Class Scine::Utils::StrongType¶
-
template<typename
T
, typenameParameter
>
classStrongType
¶ From: https://www.fluentcpp.com/2016/12/08/strong-types-for-strong-interfaces/.
- Template Parameters
T
: The underlying type.Parameter
: A “phantom type” serves the purpose of specializing the type.