thelink2012 / any

Implementation of std::experimental::any, including small object optimization, for C++11 compilers
Boost Software License 1.0
144 stars 37 forks source link

C++17 Interface #2

Open thelink2012 opened 8 years ago

thelink2012 commented 8 years ago

According to cppreference documentation (can't find the latest draft), the C++17 interface for std::any is a bit different from the one we are basing on, std::experimental::any. Function names changed and a few were added.

What should we do? Migrate to the new interface? Keep this?

Suggestions are very welcome.

Additional Info:

smancill commented 7 years ago

This is the latest draft I could find, and it contains the new interface (section 20.8):

http://open-std.org/JTC1/SC22/WG21/docs/papers/2016/n4606.pdf

I would suggest to follow the draft, maybe creating another repo/branch and deprecating this.

trueqbit commented 5 years ago

Simply branching off the legacy version would be the best approach? Your any implementation is still very useful as compilation for embedded platforms is still many times constrained to C++11.