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 wording at [temp.param]/15 says:
> A template-parameter shall not be given default arguments by two
> different declarations if one is reachable from the other.
But it is conflicted with [basic.def.odr]/13:
> There can be more than one definition of a
> ...
> default template argument
> ...
> in a program provided that each definition appears in a different
> translation unit and the definitions satisfy the [same-meaning
> criteria of the ODR].
[temp.param] should be deleted otherwise we couldn't modularize a real
project.
0 commit comments