10#include <unordered_map>
14extern std::unordered_map<std::type_index, std::function<std::string(std::any
const&)>> __any_stringer__;
32 template<
class type_t>
33 inline void unregister_any_stringer() {
34 auto it = __any_stringer__.find(std::type_index(
typeid(type_t)));
35 if (it != __any_stringer__.cend()) __any_stringer__.erase(it);
Contains std::any type and std::bad_any_cast exception.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10