If Batman needs a utility belt, shouldn't you have one?
Boost.Utility is a small set of components to help you solve common problems when programming in C++. This month, Richard Thomson will give us a guided tour of the components in this small header-only library. The components to be discussed include:
Base From Member idiom
Call Traits to choose the "best" way to pass arguments to template functions
Compressed Pair that optimizes storage
In-Place Factory for constructing elements in a container
Operators for eliminating boiler plate on types that support numeric operators
Sample code: https://github.com/LegalizeAdulthood/...
Boost.Utility docs: https://www.boost.org/doc/libs/1_84_0...
Utah C++ Programmers
Meetup group: https://www.meetup.com/utah-cpp-progr...
Past topics: https://utahcpp.wordpress.com/past-me...
Future topics: https://utahcpp.wordpress.com/future-...