summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorGravatar Bronek Kozicki <brok@spamcop.net>2017-10-01 13:14:12 +0100
committerGravatar Bronek Kozicki <brok@spamcop.net>2017-10-06 19:59:46 +0100
commit89f1f531d373f5e4eab77960d3b0e8c05d879c7c (patch)
tree1db2881a0f49c61ec56a2e95eb21327c2d444b07 /.gitignore
parent962e9931d546cd6f062894e15283cea02c7d3220 (diff)
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
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions