Implement `util::any`
Partial implementation of `std::any` from C++17 standard. See: http://en.cppreference.com/w/cpp/utility/any The implementation is in the `util` library as `util::any`. Deviations from the standards description of `std::any`: * Does not avoid dynamic allocation of small objects. * Does not implement the `in_place_type<T>` constructors from the standard. * Does not implement the `emplace` modifier from the standard.
Showing
- src/util/any.hpp 234 additions, 0 deletionssrc/util/any.hpp
- tests/global_communication/test_domain_decomposition.cpp 2 additions, 2 deletionstests/global_communication/test_domain_decomposition.cpp
- tests/unit/CMakeLists.txt 1 addition, 0 deletionstests/unit/CMakeLists.txt
- tests/unit/test_any.cpp 309 additions, 0 deletionstests/unit/test_any.cpp
Please register or sign in to comment