討論串[問題] special function覺得困惑
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
這個我看不懂問題是甚麼.... 因為有define destructor, 自然沒有move constructor. https://en.cppreference.com/w/cpp/types/is_move_constructible. 請看Note部分,沒有move constructor
(還有949個字)
內容預覽:
一切是因為看到這篇文章. https://quuxplusone.github.io/blog/2018/07/07/defaulted-destructor-inhibits-move/. 覺得有趣 然後測試了一下. https://ideone.com/B2ZuZf. 的確真的是這樣.....
(還有915個字)
首頁
上一頁
1
下一頁
尾頁