constexpr the copy/move constructors; change copy/move assign to not require constexpr lambdas

This commit is contained in:
Peter Dimov
2017-06-09 17:24:23 +03:00
parent f216bb5c1f
commit 82104cd55e
6 changed files with 291 additions and 25 deletions
-9
View File
@@ -6,13 +6,6 @@
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
#if !defined( __cpp_constexpr ) || __cpp_constexpr < 201603
// no constexpr lambda support
int main() {}
#else
#include <boost/variant2/variant.hpp>
#include <utility>
@@ -112,5 +105,3 @@ int main()
#endif
}
#endif // constexpr lambda support