Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Used to teach C++ - doing it this way is absolutely _not_ how to do or use the PIMPL idiom [0].

Declaring a private and opaque forward decl is very different to VOID* all the things.

[0] https://en.cppreference.com/w/cpp/language/pimpl



The term ”PIMPL” itself (by far) predates all the cruft shown there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: