Recently I'm studying the mordern C++ and noticed the C++ 17 new feature std::any
. It's such a very powerful tool, but it's internal implementation is really complicated.
I didn't see a really good and intuitive implementation on the website, so I decided to make it myself.
This practice only achieves very basic std::any
functionalities: move/copy and get()
. The implementation is not perfect, but should give you a brief idea about how std::any
is implemented.
-
Notifications
You must be signed in to change notification settings - Fork 0
ChiantiYZY/any_container
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published