Overload classes constructor with SFIANE

后端 未结 0 1418
轮回少年
轮回少年 2021-02-06 12:47

I am trying to create very basic shared_ptr and want to overload constructor depending on the pointee type.

class A { int a; };
class B :public A {};

    templat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题