Use std::any for Type Safety

Learn to employ std::any for type safety.

We'll cover the following

Introduced with C++17, the std::any class provides a type-safe container for a single object of any type.

For example, this is a default-constructed any object:

Get hands-on with 1200+ tech skills courses.