Commit graph

4 commits

Author SHA1 Message Date
Bronek Kozicki
bbf83057e5 Wrap comment at 80 cols 2017-10-11 22:11:13 +01:00
Bronek Kozicki
b7bdd3a63d Removed unused type_id() function 2017-10-10 22:07:10 +01:00
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