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

Used typeid to cast if RTTI is enabled #14

Closed nitro44x closed 4 years ago

nitro44x commented 4 years ago

I added a shared library test to replicate the issue I was running into. It shows that you can pass an any across a shared lib boundry with RTTI enabled and that it fails if you do not.

Let me know if I took too much liberty with the cmake files / tests/ etc.

Fixes #13

thelink2012 commented 4 years ago

Nope, looks wonderful. Thank you :)