diff --git a/include/types.hh b/include/types.hh new file mode 100644 index 0000000..339940e --- /dev/null +++ b/include/types.hh @@ -0,0 +1,3 @@ +#pragma once + +//TODO: A very basic typeid: Using the constexpr __PRETTY_FUNCTION__ array slicing trick we used for `exopt::util::type_name()`, we can extract the unmangled, de-aliased type name T, we can then hash that at comptime, and give it static storage: Therefore __PRETTY_FUNCTION__ will not be given storage, but the resulting (far smaller, but still *almost* unique to each type name) hash, will be.