New
Unclaimed project
Are you a maintainer of strong_type? Claim this project to take control of your public changelog and roadmap.
using type = strong::type<int, struct int_>;
template <type t>
struct S {
constexpr operator int() const { return value_of(t);}
};
int main()
{
S<type{3}> obj;
return obj;
}
Thank you Toni Neubert for the implementation.