Bring templated base class conversion operator into derived scope

后端 未结 4 1804
旧巷少年郎
旧巷少年郎 2021-01-21 06:51

I have a base class that defines a constrained templated conversion operator

struct base {
    template 

        
4条回答
  •  轮回少年
    2021-01-21 07:23

    Sometimes you can "solve" this issue by using a conversion constructor - but this is not always possible (like converting to pointer T).

提交回复
热议问题