tvl-depot/absl
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
..
algorithm Changes imported from Abseil "staging" branch: 2017-09-27 16:03:52 -04:00
base Changes imported from Abseil "staging" branch: 2017-10-05 16:55:26 -04:00
container Changes imported from Abseil "staging" branch: 2017-10-05 16:55:26 -04:00
debugging Changes imported from Abseil "staging" branch: 2017-09-25 10:12:29 -04:00
memory Changes imported from Abseil "staging" branch: 2017-09-25 18:36:47 -04:00
meta Changes imported from Abseil "staging" branch: 2017-10-05 16:55:26 -04:00
numeric Changes imported from Abseil "staging" branch: 2017-09-29 11:50:21 -04:00
strings Changes imported from Abseil "staging" branch: 2017-10-05 16:55:26 -04:00
synchronization Changes imported from Abseil "staging" branch: 2017-10-02 14:43:19 -04:00
time Changes imported from Abseil "staging" branch: 2017-10-05 16:55:26 -04:00
types Make any_internal::FastTypeId() and IdForType() constexpr 2017-10-06 19:59:46 +01:00
utility Changes imported from Abseil "staging" branch: 2017-09-27 16:03:52 -04:00
BUILD.bazel Changes imported from Abseil "staging" branch: 2017-10-04 10:18:49 -04:00
copts.bzl Changes imported from Abseil "staging" branch: 2017-09-25 10:12:29 -04:00