make_unique cannot access private constructor in static member

前端 未结 0 410
挽巷
挽巷 2020-12-14 16:54

My class has the following structure:

class T {
  private:
    std::unique_ptr a;
    T(S);

  public:
    st         


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