Fortune for readpass's current commit: Curse − 凶master
parent
4542eaff93
commit
09d29eba24
@ -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<T>()`, 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.
|
Loading…
Reference in new issue