The class any is a type-safe container for single values of any type.
Basically I want MyClass that holds a Hashmap that maps Field name(string) to ANY type of Value.. For this …
for example boost::function is moved almost entirely to std::function, the same is with boost::shared_ptr But I …
Since C++17 std::any is introduced. One can now write code like this #include <iostream> #include <any&…