Merge pull request #6488 from sloriot/ICC-workaround

Workaround issue with intel compiler
This commit is contained in:
Laurent Rineau 2022-04-27 16:32:06 +02:00
commit 288456950d
9 changed files with 9 additions and 9 deletions

View File

@ -51,7 +51,7 @@ public:
: base(hx, hy, hw) {}
friend void swap(Self& a, Self& b)
#ifdef __cpp_lib_is_swappable
#if !defined(__INTEL_COMPILER) && defined(__cpp_lib_is_swappable)
noexcept(std::is_nothrow_swappable_v<Vector_2_>)
#endif
{

View File

@ -49,7 +49,7 @@ public:
: base(x, y, z, w) {}
friend void swap(Self& a, Self& b)
#ifdef __cpp_lib_is_swappable
#if !defined(__INTEL_COMPILER) && defined(__cpp_lib_is_swappable)
noexcept(std::is_nothrow_swappable_v<Vector_3>)
#endif
{

View File

@ -57,7 +57,7 @@ public:
: CGAL::make_array(hx, hy) ) {}
friend void swap(Self& a, Self& b)
#ifdef __cpp_lib_is_swappable
#if !defined(__INTEL_COMPILER) && defined(__cpp_lib_is_swappable)
noexcept(std::is_nothrow_swappable_v<Base>)
#endif
{

View File

@ -72,7 +72,7 @@ public:
: CGAL::make_array(x, y, z) ) {}
friend void swap(Self& a, Self& b)
#ifdef __cpp_lib_is_swappable
#if !defined(__INTEL_COMPILER) && defined(__cpp_lib_is_swappable)
noexcept(std::is_nothrow_swappable_v<Base>)
#endif
{

View File

@ -88,7 +88,7 @@ public:
{}
friend void swap(Self& a, Self& b)
#ifdef __cpp_lib_is_swappable
#if !defined(__INTEL_COMPILER) && defined(__cpp_lib_is_swappable)
noexcept(std::is_nothrow_swappable_v<Rep>)
#endif
{

View File

@ -85,7 +85,7 @@ public:
{}
friend void swap(Self& a, Self& b)
#ifdef __cpp_lib_is_swappable
#if !defined(__INTEL_COMPILER) && defined(__cpp_lib_is_swappable)
noexcept(std::is_nothrow_swappable_v<Rep>)
#endif
{

View File

@ -96,7 +96,7 @@ public:
: RVector_2(typename R::Construct_vector_2()(Return_base_tag(), x,y,w)) {}
friend void swap(Self& a, Self& b)
#ifdef __cpp_lib_is_swappable
#if !defined(__INTEL_COMPILER) && defined(__cpp_lib_is_swappable)
noexcept(std::is_nothrow_swappable_v<Rep>)
#endif
{

View File

@ -96,7 +96,7 @@ public:
: Rep(typename R::Construct_vector_3()(Return_base_tag(), x, y, z, w)) {}
friend void swap(Self& a, Self& b)
#ifdef __cpp_lib_is_swappable
#if !defined(__INTEL_COMPILER) && defined(__cpp_lib_is_swappable)
noexcept(std::is_nothrow_swappable_v<Rep>)
#endif
{

View File

@ -102,7 +102,7 @@ public:
: Rep(CPBase()(std::move(v))) {}
friend void swap(Self& a, Self& b)
#ifdef __cpp_lib_is_swappable
#if !defined(__INTEL_COMPILER) && defined(__cpp_lib_is_swappable)
noexcept(std::is_nothrow_swappable_v<Rep>)
#endif
{