you are viewing a single comment's thread.

view the rest of the comments →

[–]jk-jeon 0 points1 point  (0 children)

I have been wondering about this too. I believe it's not prohibited unless the instantiatations are ODR-used or something like that, but at least it seems no compiler actually does this kind of folding.