diff options
author | Dino Radakovic <dinor@google.com> | 2024-03-21 08:41:48 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-03-21 08:42:49 -0700 |
commit | 1cd7128b5697045562dc1bed4ad17c819d4ab166 (patch) | |
tree | 9f39ecb509a81d8235ffc1cbc0b44806076f9b1d /absl/container | |
parent | e4c00cc67a48ef85336d3f66c6a28e32510d8fe6 (diff) |
`layout`: Delete outdated comments about ElementType alias not being used because of MSVC
Code below those comments does use ElementType.
PiperOrigin-RevId: 617854731
Change-Id: I7996b8cbaa2fb65855a801f634a57d821408b1f3
Diffstat (limited to 'absl/container')
-rw-r--r-- | absl/container/internal/layout.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/absl/container/internal/layout.h b/absl/container/internal/layout.h index d42651a2..384929af 100644 --- a/absl/container/internal/layout.h +++ b/absl/container/internal/layout.h @@ -542,9 +542,6 @@ class LayoutImpl< // std::tie(ints, doubles) = x.Pointers(p); // // Requires: `p` is aligned to `Alignment()`. - // - // Note: We're not using ElementType alias here because it does not compile - // under MSVC. template <class Char> auto Pointers(Char* p) const { return std::tuple<CopyConst<Char, ElementType<OffsetSeq>>*...>( @@ -599,9 +596,6 @@ class LayoutImpl< // // Requires: `p` is aligned to `Alignment()`. // - // Note: We're not using ElementType alias here because it does not compile - // under MSVC. - // // Note: We mark the parameter as unused because GCC detects it is not used // when `SizeSeq` is empty [-Werror=unused-but-set-parameter]. template <class Char> |