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:
@@ -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_<
|
||||
|
||||
Reference in New Issue
Block a user