2
0
mirror of https://github.com/boostorg/variant.git synced 2026-01-19 04:42:16 +00:00

clang/c++23: disable converting move assignment

Workaround https://github.com/boostorg/variant/issues/97
This commit is contained in:
Ed Catmur
2022-06-29 12:36:16 +01:00
committed by GitHub
parent d2fdf2384b
commit 70ff3706c5

View File

@@ -2131,7 +2131,8 @@ private: // helpers, for modifiers (below)
public: // modifiers
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \
(!BOOST_WORKAROUND(BOOST_CLANG_VERSION, BOOST_TESTED_AT(150000)) || BOOST_CXX_VERSION <= 202002L)
template <class T>
typename boost::enable_if<
boost::mpl::and_<