Disambiguator template keyword for a template member of a template: when exactly?

后端 未结 3 1210
北恋
北恋 2021-01-21 16:51

A question regarding template disambiguator was given here:

template disambiguator

and in the answer we can read:

ISO C++03 14.2/4

3条回答
  •  春和景丽
    2021-01-21 17:22

    BaseType does depend on the type T- but so does InnerB. In effect, from the perspective of any code inside BaseType, it does not depend on T.

提交回复
热议问题