Export of internal Abseil changes.
-- c1f3a243ff3713917eaf0255c86ddd1b40461ba9 by Abseil Team <absl-team@google.com>: Remove stray space. PiperOrigin-RevId: 207753171 -- 4abe43b174f7fafa390d2f6eb96f31977a38fc69 by Shaindel Schwartz <shaindel@google.com>: Typo fix. PiperOrigin-RevId: 207572868 -- e7757b409256b025cadba20a84a93cb9dc4319e1 by Abseil Team <absl-team@google.com>: Adds backported is_(copy|move)_assignable<T> PiperOrigin-RevId: 207572180 GitOrigin-RevId: c1f3a243ff3713917eaf0255c86ddd1b40461ba9 Change-Id: I1202715e5092b54d5967017728044715d6eb2ec0
This commit is contained in:
parent
bea85b5273
commit
083d04dd4a
9 changed files with 126 additions and 32 deletions
|
|
@ -931,8 +931,8 @@ TEST(ThrowingValueTraitsTest, RelationalOperators) {
|
|||
}
|
||||
|
||||
TEST(ThrowingAllocatorTraitsTest, Assignablility) {
|
||||
EXPECT_TRUE(std::is_move_assignable<ThrowingAllocator<int>>::value);
|
||||
EXPECT_TRUE(std::is_copy_assignable<ThrowingAllocator<int>>::value);
|
||||
EXPECT_TRUE(absl::is_move_assignable<ThrowingAllocator<int>>::value);
|
||||
EXPECT_TRUE(absl::is_copy_assignable<ThrowingAllocator<int>>::value);
|
||||
EXPECT_TRUE(std::is_nothrow_move_assignable<ThrowingAllocator<int>>::value);
|
||||
EXPECT_TRUE(std::is_nothrow_copy_assignable<ThrowingAllocator<int>>::value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue