workaround issue with intel compiler

Cartesian_kernel/include/CGAL/Cartesian/Line_3.h(38): error: incomplete type is not allowed
      Point_3 first;
              ^
This commit is contained in:
Sébastien Loriot 2022-04-12 16:14:39 +02:00
parent 88c6381e00
commit cca0a1942f
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

@ -84,7 +84,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

@ -82,7 +82,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

@ -93,7 +93,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

@ -93,7 +93,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
{