-
Book Overview & Buying
-
Table Of Contents
Software Architecture with C++ - Second Edition
By :
In this chapter, we went through various idioms and patterns used in the C++ world. You should now be able to write fluent, idiomatic C++. We’ve demystified how to perform automatic cleanup and write safer types that properly move, copy, and swap. You learned how to use ADL to improve both compilation performance and the design of customization points. We discussed how to choose between static and dynamic polymorphism. We also learned how to introduce policies to your types and when to use type erasure and the explicit object parameter, a C++23 feature known as deducing this.
What’s more, we discussed how to create objects using factories and fluent builders. We also explored region-based memory management with arenas. Also, writing state machines with tools such as std::variant should no longer be a mystery to you.
We did all that while also touching on extra topics down the road. Phew! The next stop on our journey will be building your software and...