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:
1 parent
7eb8f41af5
commit
ed3693fd2e
2 files changed
+3
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user