|
xtd
0.2.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
10#include <unordered_map>
14extern std::unordered_map<std::type_index, std::function<std::string(
xtd::any const&)>> __any_stringer__;
32 template<
class type_t>
34 auto it = __any_stringer__.find(std::type_index(
typeid(type_t)));
35 if (it != __any_stringer__.cend()) __any_stringer__.erase(it);
Contains xtd::any type and std::bad_any_cast exception.
void unregister_any_stringer()
Unregister an any stringer method for a specified type.
Definition unregister_any_stringer.hpp:33
std::any any
Represents the any alias on std::any.
Definition any.hpp:24
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8