turbobadger
turbobadger copied to clipboard
TU-independent type identification - DSO support
Currently, the type IDs are represented by static class members, which are not shared across translation unit (so/dll) boundaries, so the TypeID-based methods between them fail.
Otherwise, TB seems to work well in shared builds.
I was able to generate TU-independent TypeIDs with TBGetHash(ClassName) which is resolved at compile-time with constexpr. Did not finish the implementation, but it may be an idea.