std::any
C++17 allows us to put our value in a safe container which can be accessed only when its type is specified. Welcome to std::any.
We'll cover the following...
The new C++17 data types std::any
, std::optional
, and std::variant
are all based on the Boost libraries.
std::any ...
Access this course and 1400+ top-rated courses and projects.