make explicit not_null move constructor so it is noexcept (#630)

* make explicit not_null move constructor so it is noexcept

* added test for not_null being noexcet move constructible
This commit is contained in:
Zac Hansen authored and Neil MacIntosh committed 2018-03-03 15:53:23 -08:00
1 parent 7eb8f41af5
commit ed3693fd2e
2 files changed
+3

No files matched your search

+1
View File
@@ -82,6 +82,7 @@ public:
{
}
not_null(not_null&& other) = default;
not_null(const not_null& other) = default;
not_null& operator=(const not_null& other) = default;