Only specializations are allowed. So for example, you are allowed to specialize std::numeric_limits
for your type. And this of course must happen in namespace std::
. But your typedef isn’t a specialization so that’s causing undefined behavior.
Only specializations are allowed. So for example, you are allowed to specialize std::numeric_limits
for your type. And this of course must happen in namespace std::
. But your typedef isn’t a specialization so that’s causing undefined behavior.