[EMCpp]Item-22 When Using Pimple Idiom, Define Special Member Functions in the Implementation File
· ☕ 4 min read
For std::unique_ptr
pImpl pointers, declare special member functions in the class header, but implement them in the implementation file.