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

No rest() and emplace() #3

Open devgs opened 7 years ago

devgs commented 7 years ago

Probably draft was updated since the original implementation. These member functions are very essential AFAIK.

Reference: http://en.cppreference.com/w/cpp/utility/any

thelink2012 commented 7 years ago

Yeah, see #2, still not entirely sure what we should do about this interface change.

devgs commented 7 years ago

Thanks for the prompt reply!

Are there any specific issues related to adding them? It seems like interface is settled now. At least for the last month or so I didn't notice any changes.

thelink2012 commented 7 years ago

The major issue I see is with people that is using the old interface and blindly clones the repo without the proper commit hash. Plus, whether we should come up with a #ifdef to switch between interfaces.... well, that'll look a bit ugly, eh?

Yes, don't think the interface will change any further as the major compilers are implementing it outside of the experimental namespace already.

devgs commented 7 years ago

Are you okay with me cloning your repository and making adjustments?

thelink2012 commented 7 years ago

Yes, I'm okay with that.