Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2020-01-31 04:00:13 +0300
committerJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2020-01-31 04:00:13 +0300
commit6b23937bafca79ddd9b544e337aaba36a06ce339 (patch)
treeb57c2c1a3fdddd676eaac340cf8bfefeb14983b1 /tests
parent6e20bfbba212d8230ca28c172c2f8ed730af8a9a (diff)
remove move constructor for not_null.
Diffstat (limited to 'tests')
-rw-r--r--tests/notnull_tests.cpp3
-rw-r--r--tests/strict_notnull_tests.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/notnull_tests.cpp b/tests/notnull_tests.cpp
index d4c8cf4..0578131 100644
--- a/tests/notnull_tests.cpp
+++ b/tests/notnull_tests.cpp
@@ -533,6 +533,3 @@ TEST(notnull_tests, TestMakeNotNull)
}
#endif
}
-
-static_assert(std::is_nothrow_move_constructible<not_null<void*>>::value,
- "not_null must be no-throw move constructible");
diff --git a/tests/strict_notnull_tests.cpp b/tests/strict_notnull_tests.cpp
index a568e95..3cf6911 100644
--- a/tests/strict_notnull_tests.cpp
+++ b/tests/strict_notnull_tests.cpp
@@ -188,6 +188,3 @@ TEST(strict_notnull_tests, TestStrictNotNullConstructorTypeDeduction)
#endif
}
#endif // #if defined(__cplusplus) && (__cplusplus >= 201703L)
-
-static_assert(std::is_nothrow_move_constructible<strict_not_null<void*>>::value,
- "strict_not_null must be no-throw move constructible");