You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make value::get() more robust. Previously, this was potentially throwing std::bad_variant_access when calling with a POD template parameter type while storing a nested container instead.
Decay type template parameters where reasonable. Previously, something like gpds::value::get<const int>() or gpds::container::get_value<const int>() would have failed. These template parameters are now decayed before performing type conversions.
Fixes
Add missing include to utils.hpp (reported by @aboelens).
CMake
Set feature GPDS_FEATURE_SPDLOG to OFF by default
Remove setting of the POSITION_INDEPENDENT_CODE property on the static library target
Introduce GPDS_BUILD_STATIC and GPDS_BUILD_SHARED options to independently control which libraries are being built. When using MSVC, these two options are mutually exclusive as they would result in naming conflicts/collisions of the generated *.LIB files (reported by @aboelens)..