diff options
author | Zac Hansen <xaxxon@gmail.com> | 2018-03-03 15:53:23 -0800 |
---|---|---|
committer | Neil MacIntosh <neilmac@fb.com> | 2018-03-03 15:53:23 -0800 |
commit | ed3693fd2e6d3dcc20acb6be23cfbf2d1cbb8ecd (patch) | |
tree | 2e102092da682cc14dd2d5129197af2b4927a973 /include | |
parent | 7eb8f41af544941c712916dc0cb2c6c6ef7768ac (diff) | |
download | platform_external_Microsoft-GSL-ed3693fd2e6d3dcc20acb6be23cfbf2d1cbb8ecd.tar.gz platform_external_Microsoft-GSL-ed3693fd2e6d3dcc20acb6be23cfbf2d1cbb8ecd.tar.bz2 platform_external_Microsoft-GSL-ed3693fd2e6d3dcc20acb6be23cfbf2d1cbb8ecd.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/gsl/pointers | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gsl/pointers b/include/gsl/pointers index 163a2fe..b2804a3 100644 --- a/include/gsl/pointers +++ b/include/gsl/pointers @@ -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; |