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:
parent
bff9423150
commit
ecc56367b8
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue