🖍️
嗡嗡的草稿倉庫
Ctrlk
  • ✏️嗡嗡的草稿倉庫
  • Bash Script
  • Linux
  • C++
    • C++ 一些觀念
    • C++ 條件處理
    • C++ 字串處理
    • C++ 檔案讀取
    • C++ const
    • C++ container
    • C++ struct / class
    • C++ scope
    • C++ function
    • C++ debug
    • C++ multithread / mutex
    • C++ 記憶體管理 (stack/heap)
    • Modern C++
      • translation unit
      • rvalue / lvalue
      • move constructors
      • The rule of five c++ (move constructor)
      • constexper
      • C++ name requirements (literal type)
      • Perfect forwarding
      • Move semantics
      • pimpl five rules
      • C++ smart pointer
        • make_unique custom deleter
        • pimpl unique_ptr
        • std::forward
        • unique_ptr to char*
        • get smart pointer address
        • std unique_ptr
    • C++ template
    • C++ clang-tidy
    • C++ Learning resource
    • C++ atomic
    • C++ test
    • C++ MISC
    • C++ library
  • Python
  • Machine Learning (ML)
  • Git
  • VSCode
  • Design Pattern
  • Functional programming
  • WordPress
  • 加密貨幣
  • 省思&雜記
  • 嗡嗡的隨手筆記 (整理完放此)
Powered by GitBook
On this page

Was this helpful?

  1. C++
  2. Modern C++
  3. C++ smart pointer

pimpl unique_ptr

  • pimpl unique_ptr

  • https://stackoverflow.com/questions/28786387/c-pimpl-idiom-incomplete-type-using-stdunique-ptr

  • https://stackoverflow.com/questions/9020372/how-do-i-use-unique-ptr-for-pimpl

Previousmake_unique custom deleterNextstd::forward

Last updated 2 years ago

Was this helpful?

This site uses cookies to deliver its service and to analyze traffic. By browsing this site, you accept the privacy policy.