Really everything.
Everything You Need to Know About std::any from C++17
by Bartlomiej Filipek
From the article:
With std::optional you can represent some Type or nothing. With std::variant you can wrap several variants into one entity. And C++17 gives us one more wrapper type: std::any that can hold anything in a type-safe way...
Add a Comment
Comments are closed.