Loading src/TNL/Containers/DistributedVector.h +2 −0 Original line number Diff line number Diff line Loading @@ -49,7 +49,9 @@ public: // inherit all constructors and assignment operators from Array using BaseType::DistributedArray; #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 using BaseType::operator=; #endif DistributedVector() = default; Loading src/TNL/Containers/DistributedVectorView.h +2 −0 Original line number Diff line number Diff line Loading @@ -51,7 +51,9 @@ public: // inherit all constructors and assignment operators from ArrayView using BaseType::DistributedArrayView; #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 using BaseType::operator=; #endif // In C++14, default constructors cannot be inherited, although Clang // and GCC since version 7.0 inherit them. Loading src/TNL/Containers/StaticVector.h +2 −0 Original line number Diff line number Diff line Loading @@ -64,7 +64,9 @@ public: //! Constructors and assignment operators are inherited from the class \ref StaticArray. using StaticArray< Size, Real >::StaticArray; #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 using StaticArray< Size, Real >::operator=; #endif /** * \brief Constructor from binary vector expression. Loading src/TNL/Containers/Vector.h +2 −0 Original line number Diff line number Diff line Loading @@ -194,6 +194,7 @@ public: */ // operator= from the base class should be hidden according to the C++14 standard, // although GCC does not do that - see https://stackoverflow.com/q/57322624 #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 template< typename T, typename..., typename = std::enable_if_t< std::is_convertible< T, Real >::value || IsArrayType< T >::value > > Loading @@ -202,6 +203,7 @@ public: { return Array< Real, Device, Index, Allocator >::operator=(data); } #endif /** * \brief Adds elements of this vector and a vector expression and Loading src/TNL/Containers/VectorView.h +2 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,7 @@ public: */ // operator= from the base class should be hidden according to the C++14 standard, // although GCC does not do that - see https://stackoverflow.com/q/57322624 #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 template< typename T, typename..., typename = std::enable_if_t< std::is_convertible< T, Real >::value || IsArrayType< T >::value > > Loading @@ -156,6 +157,7 @@ public: { return ArrayView< Real, Device, Index >::operator=(data); } #endif /** * \brief Adds elements of this vector view and a vector expression and Loading Loading
src/TNL/Containers/DistributedVector.h +2 −0 Original line number Diff line number Diff line Loading @@ -49,7 +49,9 @@ public: // inherit all constructors and assignment operators from Array using BaseType::DistributedArray; #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 using BaseType::operator=; #endif DistributedVector() = default; Loading
src/TNL/Containers/DistributedVectorView.h +2 −0 Original line number Diff line number Diff line Loading @@ -51,7 +51,9 @@ public: // inherit all constructors and assignment operators from ArrayView using BaseType::DistributedArrayView; #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 using BaseType::operator=; #endif // In C++14, default constructors cannot be inherited, although Clang // and GCC since version 7.0 inherit them. Loading
src/TNL/Containers/StaticVector.h +2 −0 Original line number Diff line number Diff line Loading @@ -64,7 +64,9 @@ public: //! Constructors and assignment operators are inherited from the class \ref StaticArray. using StaticArray< Size, Real >::StaticArray; #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 using StaticArray< Size, Real >::operator=; #endif /** * \brief Constructor from binary vector expression. Loading
src/TNL/Containers/Vector.h +2 −0 Original line number Diff line number Diff line Loading @@ -194,6 +194,7 @@ public: */ // operator= from the base class should be hidden according to the C++14 standard, // although GCC does not do that - see https://stackoverflow.com/q/57322624 #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 template< typename T, typename..., typename = std::enable_if_t< std::is_convertible< T, Real >::value || IsArrayType< T >::value > > Loading @@ -202,6 +203,7 @@ public: { return Array< Real, Device, Index, Allocator >::operator=(data); } #endif /** * \brief Adds elements of this vector and a vector expression and Loading
src/TNL/Containers/VectorView.h +2 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,7 @@ public: */ // operator= from the base class should be hidden according to the C++14 standard, // although GCC does not do that - see https://stackoverflow.com/q/57322624 #if !defined(__CUDACC_VER_MAJOR__) || __CUDACC_VER_MAJOR__ < 11 template< typename T, typename..., typename = std::enable_if_t< std::is_convertible< T, Real >::value || IsArrayType< T >::value > > Loading @@ -156,6 +157,7 @@ public: { return ArrayView< Real, Device, Index >::operator=(data); } #endif /** * \brief Adds elements of this vector view and a vector expression and Loading