You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The order of the conditions in enable_if_t matters since,
in some cases, the compiler uses short circuit evaluation
of the compile-time constant expressions to simplify
the enable_if condition so that it no longer depends on
the inputs and only depends on the template parameters
of the class being constructed, which, then, causes
an error since that isn't allowed.
0 commit comments