From 1cd7128b5697045562dc1bed4ad17c819d4ab166 Mon Sep 17 00:00:00 2001 From: Dino Radakovic Date: Thu, 21 Mar 2024 08:41:48 -0700 Subject: `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 --- absl/container/internal/layout.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'absl/container') 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 auto Pointers(Char* p) const { return std::tuple>*...>( @@ -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 -- cgit v1.2.3