Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a type-safe configuration library in this CppNow conference talk. Discover how to create type-level tags for data storage in configuration objects, shifting bad_any_cast checks from runtime to compile time. Learn about the library's features, the Boost.TypeIndex library, and metaprogramming techniques to simplify enable_if usage. Gain insights into implementing a configuration library that avoids "stringly-typed" approaches and boost::any erasure, resulting in cleaner abstractions and improved type safety. Dive into practical examples and best practices for creating robust, type-safe configuration systems in C++.