forked from boostorg/fusion
Fix -Wdeprecated-copy
This commit is contained in:
@ -103,9 +103,7 @@ namespace boost { namespace fusion
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
BOOST_DELETED_FUNCTION(array_iterator& operator=(array_iterator const&))
|
||||||
|
|
||||||
array_iterator<Array, Pos>& operator=(array_iterator<Array, Pos> const&);
|
|
||||||
};
|
};
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
@ -100,9 +100,7 @@ namespace boost { namespace fusion
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
BOOST_DELETED_FUNCTION(std_array_iterator& operator=(std_array_iterator const&))
|
||||||
|
|
||||||
std_array_iterator<Array, Pos>& operator=(std_array_iterator<Array, Pos> const&);
|
|
||||||
};
|
};
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
@ -28,8 +28,7 @@
|
|||||||
\
|
\
|
||||||
WRAPPED_TYPE& obj; \
|
WRAPPED_TYPE& obj; \
|
||||||
\
|
\
|
||||||
private: \
|
BOOST_DELETED_FUNCTION(NAME& operator= (NAME const&)) \
|
||||||
NAME& operator= (NAME const&); \
|
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
BOOST_FUSION_ADAPT_STRUCT_NAMESPACE_DEFINITION_END(NAMESPACE_SEQ)
|
BOOST_FUSION_ADAPT_STRUCT_NAMESPACE_DEFINITION_END(NAMESPACE_SEQ)
|
||||||
|
@ -28,24 +28,11 @@ namespace boost { namespace fusion
|
|||||||
{
|
{
|
||||||
})
|
})
|
||||||
|
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
|
||||||
BOOST_DEFAULTED_FUNCTION(
|
|
||||||
unused_type(unused_type const&) BOOST_FUSION_NOEXCEPT_ON_DEFAULTED,
|
|
||||||
{
|
|
||||||
})
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
unused_type(T const&) BOOST_NOEXCEPT
|
unused_type(T const&) BOOST_NOEXCEPT
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_FUSION_CONSTEXPR_THIS BOOST_FUSION_GPU_ENABLED
|
|
||||||
unused_type const&
|
|
||||||
operator=(unused_type const&) const BOOST_NOEXCEPT
|
|
||||||
{
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
BOOST_CONSTEXPR_OR_CONST unused_type unused = unused_type();
|
BOOST_CONSTEXPR_OR_CONST unused_type unused = unused_type();
|
||||||
|
@ -20,11 +20,6 @@
|
|||||||
#include <boost/fusion/view/single_view/detail/value_of_impl.hpp>
|
#include <boost/fusion/view/single_view/detail/value_of_impl.hpp>
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
#if defined (BOOST_MSVC)
|
|
||||||
# pragma warning(push)
|
|
||||||
# pragma warning (disable: 4512) // assignment operator could not be generated.
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace boost { namespace fusion
|
namespace boost { namespace fusion
|
||||||
{
|
{
|
||||||
struct single_view_iterator_tag;
|
struct single_view_iterator_tag;
|
||||||
@ -46,8 +41,7 @@ namespace boost { namespace fusion
|
|||||||
|
|
||||||
SingleView& view;
|
SingleView& view;
|
||||||
|
|
||||||
private:
|
BOOST_DELETED_FUNCTION(single_view_iterator& operator=(single_view_iterator const&))
|
||||||
single_view_iterator& operator=(single_view_iterator const&);
|
|
||||||
};
|
};
|
||||||
}}
|
}}
|
||||||
|
|
||||||
@ -60,10 +54,6 @@ namespace std
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (BOOST_MSVC)
|
|
||||||
# pragma warning(pop)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user