Commit graph

5 commits

Author SHA1 Message Date
Abseil Team
f6eea9486a Changes imported from Abseil "staging" branch:
- a74a7e9027e3f90835ae0f553f98be294781da18 Internal change by Abseil Team <absl-team@google.com>
  - 2d32db6ed063f93b67886b9c27602d5aea3c21f7 Add /D_SCL_SECURE_NO_WARNINGS to MSVC builds to disable c... by Jon Cohen <cohenjon@google.com>
  - 54f40318d1de67b6b25f8aa68343f8bbcde8c304 Use sized delete in FixedArray. by Chris Kennelly <ckennelly@google.com>
  - 193f50b3500ab1a102a00df4e05ad7b969e9337b Fixes some warnings that show up during builds with msvc. by Greg Miller <jgm@google.com>

GitOrigin-RevId: a74a7e9027e3f90835ae0f553f98be294781da18
Change-Id: I6d2b1f496974a1399ca5db6b71274368c2699a59
2018-01-25 16:48:39 -05:00
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