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
6bd510b943
|
|
@ -51,7 +51,7 @@ public:
|
||||||
: base(hx, hy, hw) {}
|
: base(hx, hy, hw) {}
|
||||||
|
|
||||||
friend void swap(Self& a, Self& b)
|
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_>)
|
noexcept(std::is_nothrow_swappable_v<Vector_2_>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ public:
|
||||||
: base(x, y, z, w) {}
|
: base(x, y, z, w) {}
|
||||||
|
|
||||||
friend void swap(Self& a, Self& b)
|
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>)
|
noexcept(std::is_nothrow_swappable_v<Vector_3>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ public:
|
||||||
: CGAL::make_array(hx, hy) ) {}
|
: CGAL::make_array(hx, hy) ) {}
|
||||||
|
|
||||||
friend void swap(Self& a, Self& b)
|
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>)
|
noexcept(std::is_nothrow_swappable_v<Base>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ public:
|
||||||
: CGAL::make_array(x, y, z) ) {}
|
: CGAL::make_array(x, y, z) ) {}
|
||||||
|
|
||||||
friend void swap(Self& a, Self& b)
|
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>)
|
noexcept(std::is_nothrow_swappable_v<Base>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ public:
|
||||||
{}
|
{}
|
||||||
|
|
||||||
friend void swap(Self& a, Self& b)
|
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>)
|
noexcept(std::is_nothrow_swappable_v<Rep>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ public:
|
||||||
{}
|
{}
|
||||||
|
|
||||||
friend void swap(Self& a, Self& b)
|
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>)
|
noexcept(std::is_nothrow_swappable_v<Rep>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ public:
|
||||||
: RVector_2(typename R::Construct_vector_2()(Return_base_tag(), x,y,w)) {}
|
: RVector_2(typename R::Construct_vector_2()(Return_base_tag(), x,y,w)) {}
|
||||||
|
|
||||||
friend void swap(Self& a, Self& b)
|
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>)
|
noexcept(std::is_nothrow_swappable_v<Rep>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ public:
|
||||||
: Rep(typename R::Construct_vector_3()(Return_base_tag(), x, y, z, w)) {}
|
: Rep(typename R::Construct_vector_3()(Return_base_tag(), x, y, z, w)) {}
|
||||||
|
|
||||||
friend void swap(Self& a, Self& b)
|
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>)
|
noexcept(std::is_nothrow_swappable_v<Rep>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ public:
|
||||||
: Rep(CPBase()(std::move(v))) {}
|
: Rep(CPBase()(std::move(v))) {}
|
||||||
|
|
||||||
friend void swap(Self& a, Self& b)
|
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>)
|
noexcept(std::is_nothrow_swappable_v<Rep>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue