diff --git a/STL_Extension/include/CGAL/iterator.h b/STL_Extension/include/CGAL/iterator.h index 832c76d75f6..6e606d3299b 100644 --- a/STL_Extension/include/CGAL/iterator.h +++ b/STL_Extension/include/CGAL/iterator.h @@ -1180,7 +1180,9 @@ template < typename D, typename V = cpp0x::tuple<>, typename O = cpp0x::tuple<> struct Derivator { typedef Derivator Self; +#ifndef CGAL_CFG_NO_CPP0X_DELETED_AND_DEFAULT_FUNCTIONS Self& operator=(const Self&) = delete; +#endif }; template < typename D, typename V1, typename O1, typename... V, typename... O> @@ -1190,7 +1192,9 @@ struct Derivator, cpp0x::tuple > typedef Derivator, cpp0x::tuple > Self; typedef Derivator, cpp0x::tuple > Base; +#ifndef CGAL_CFG_NO_CPP0X_DELETED_AND_DEFAULT_FUNCTIONS Self& operator=(const Self&) = delete; +#endif using Base::operator=;