mirror of https://github.com/CGAL/cgal
Merge pull request #6488 from sloriot/ICC-workaround
Workaround issue with intel compiler
This commit is contained in:
commit
288456950d
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue