r/cpp • u/victor-s8n • 27d ago
How I design C++ classes
https://rafb.eu/blog/cpp-class-design/This is my first ever blog-post, any feedback is welcome! ofc, no AI got used.
68
Upvotes
r/cpp • u/victor-s8n • 27d ago
This is my first ever blog-post, any feedback is welcome! ofc, no AI got used.
View all comments
9
u/LongestNamesPossible 27d ago
I don't think bending a class to use inheritance and pointers to deal with boost asio egregious compile times is the right way to go. I would much rather wrap the boost nonsense with specific types so they could be compiled into their own compilation unit to contain the long compile times.