Changes imported from Abseil "staging" branch:

- af7f910500f810f04b5e9835a0655ed509ffb60c Correct comment to refer to simple_pair instead of std::p... by Alex Strelnikov <strel@google.com>

GitOrigin-RevId: af7f910500f810f04b5e9835a0655ed509ffb60c
Change-Id: I5829533b8ef07e40f2bb89a6a4b2f9a6128d4f3e
This commit is contained in:
Abseil Team 2017-12-07 07:25:03 -08:00 committed by Alex Strelnikov
parent bff9423150
commit ecc56367b8

View file

@ -258,7 +258,7 @@ TEST(TypeTraitsTest, TestTrivialCopyCtor) {
// types with vtables
EXPECT_FALSE(absl::is_trivially_copy_constructible<Base>::value);
// Verify that std pair of such types is trivially copy constructible
// Verify that simple_pair of such types is trivially copy constructible
EXPECT_TRUE(
(absl::is_trivially_copy_constructible<simple_pair<int, char*>>::value));
EXPECT_TRUE((
@ -270,7 +270,7 @@ TEST(TypeTraitsTest, TestTrivialCopyCtor) {
typedef int int10[10];
EXPECT_FALSE(absl::is_trivially_copy_constructible<int10>::value);
// Verify that pairs of types without trivial copy constructors
// Verify that simple_pairs of types without trivial copy constructors
// are not marked as trivial.
EXPECT_FALSE((absl::is_trivially_copy_constructible<
simple_pair<int, std::string>>::value));