Commit graph

2 commits

Author SHA1 Message Date
Bronek Kozicki
89f1f531d3 Make any_internal::FastTypeId() and IdForType() constexpr
This means removing all side effects from FastTypeId(). So rather than instantiate dummy_var in the first call to FastTypeId(), move this responsibility to the linker, and only read its address during execution - guaranteed to never change. This allows for more optimization opportunities, with more explicit uses of constexpr
2017-10-06 19:59:46 +01:00
misterg
c2e7548296 Initial Commit 2017-09-19 16:54:40 -04:00