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
2018-03-03 15:53:23 -08:00
committed by Neil MacIntosh
parent 7eb8f41af5
commit ed3693fd2e
2 changed files with 3 additions and 0 deletions
+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;