turbobadger icon indicating copy to clipboard operation
turbobadger copied to clipboard

TU-independent type identification - DSO support

Open 100espressos opened this issue 9 years ago • 0 comments

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.

100espressos avatar Feb 11 '16 18:02 100espressos