forked from microsoft/GSL
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:
committed by
Neil MacIntosh
parent
7eb8f41af5
commit
ed3693fd2e
@@ -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