Loading src/TNL/Experimental/Multimaps/EllpackIndexMultimapValues.h +6 −8 Original line number Diff line number Diff line Loading @@ -25,8 +25,6 @@ template< typename Index, typename LocalIndex > class EllpackIndexMultimapValues { using ThisType = EllpackIndexMultimapValues< Index, Device, LocalIndex >; public: using DeviceType = Device; using IndexType = Index; Loading @@ -35,13 +33,13 @@ class EllpackIndexMultimapValues EllpackIndexMultimapValues(); EllpackIndexMultimapValues( ThisType&& other ); EllpackIndexMultimapValues( EllpackIndexMultimapValues&& other ); ThisType& operator=( const ThisType& ); EllpackIndexMultimapValues& operator=( const EllpackIndexMultimapValues& ); ThisType& operator=( ThisType&& other ); EllpackIndexMultimapValues& operator=( EllpackIndexMultimapValues&& other ); void bind( const ThisType& other ); void bind( const EllpackIndexMultimapValues& other ); bool setSize( const LocalIndexType& portsCount ); Loading @@ -58,9 +56,9 @@ class EllpackIndexMultimapValues const IndexType& operator[]( const LocalIndexType& portIndex ) const; bool operator==( const ThisType& other ) const; bool operator==( const EllpackIndexMultimapValues& other ) const; bool operator!=( const ThisType& other ) const; bool operator!=( const EllpackIndexMultimapValues& other ) const; void print( std::ostream& str ) const; Loading src/TNL/Experimental/Multimaps/EllpackIndexMultimapValues_impl.h +6 −6 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ template< typename Index, typename Device, typename LocalIndex > EllpackIndexMultimapValues< Index, Device, LocalIndex >:: EllpackIndexMultimapValues( ThisType&& other ) EllpackIndexMultimapValues( EllpackIndexMultimapValues&& other ) : values( other.values ), valuesCount( other.valuesCount ), allocatedSize( other.allocatedSize ) { other.values = nullptr; Loading @@ -42,7 +42,7 @@ template< typename Index, typename LocalIndex > EllpackIndexMultimapValues< Index, Device, LocalIndex >& EllpackIndexMultimapValues< Index, Device, LocalIndex >:: operator=( const ThisType& other ) operator=( const EllpackIndexMultimapValues& other ) { Assert( this->getSize() == other.getSize(), ); if( this->values != other.values ) { Loading @@ -57,7 +57,7 @@ template< typename Index, typename LocalIndex > EllpackIndexMultimapValues< Index, Device, LocalIndex >& EllpackIndexMultimapValues< Index, Device, LocalIndex >:: operator=( ThisType&& other ) operator=( EllpackIndexMultimapValues&& other ) { this->values = other.values; this->valuesCount = other.valuesCount; Loading @@ -73,7 +73,7 @@ template< typename Index, typename LocalIndex > void EllpackIndexMultimapValues< Index, Device, LocalIndex >:: bind( const ThisType& other ) bind( const EllpackIndexMultimapValues& other ) { this->values = other.values; this->valuesCount = other.valuesCount; Loading Loading @@ -192,7 +192,7 @@ template< typename Index, typename LocalIndex > bool EllpackIndexMultimapValues< Index, Device, LocalIndex >:: operator==( const ThisType& other ) const operator==( const EllpackIndexMultimapValues& other ) const { if( this->getSize() != other.getSize() ) return false; Loading @@ -207,7 +207,7 @@ template< typename Index, typename LocalIndex > bool EllpackIndexMultimapValues< Index, Device, LocalIndex >:: operator!=( const ThisType& other ) const operator!=( const EllpackIndexMultimapValues& other ) const { return ! ( *this == other ); } Loading Loading
src/TNL/Experimental/Multimaps/EllpackIndexMultimapValues.h +6 −8 Original line number Diff line number Diff line Loading @@ -25,8 +25,6 @@ template< typename Index, typename LocalIndex > class EllpackIndexMultimapValues { using ThisType = EllpackIndexMultimapValues< Index, Device, LocalIndex >; public: using DeviceType = Device; using IndexType = Index; Loading @@ -35,13 +33,13 @@ class EllpackIndexMultimapValues EllpackIndexMultimapValues(); EllpackIndexMultimapValues( ThisType&& other ); EllpackIndexMultimapValues( EllpackIndexMultimapValues&& other ); ThisType& operator=( const ThisType& ); EllpackIndexMultimapValues& operator=( const EllpackIndexMultimapValues& ); ThisType& operator=( ThisType&& other ); EllpackIndexMultimapValues& operator=( EllpackIndexMultimapValues&& other ); void bind( const ThisType& other ); void bind( const EllpackIndexMultimapValues& other ); bool setSize( const LocalIndexType& portsCount ); Loading @@ -58,9 +56,9 @@ class EllpackIndexMultimapValues const IndexType& operator[]( const LocalIndexType& portIndex ) const; bool operator==( const ThisType& other ) const; bool operator==( const EllpackIndexMultimapValues& other ) const; bool operator!=( const ThisType& other ) const; bool operator!=( const EllpackIndexMultimapValues& other ) const; void print( std::ostream& str ) const; Loading
src/TNL/Experimental/Multimaps/EllpackIndexMultimapValues_impl.h +6 −6 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ template< typename Index, typename Device, typename LocalIndex > EllpackIndexMultimapValues< Index, Device, LocalIndex >:: EllpackIndexMultimapValues( ThisType&& other ) EllpackIndexMultimapValues( EllpackIndexMultimapValues&& other ) : values( other.values ), valuesCount( other.valuesCount ), allocatedSize( other.allocatedSize ) { other.values = nullptr; Loading @@ -42,7 +42,7 @@ template< typename Index, typename LocalIndex > EllpackIndexMultimapValues< Index, Device, LocalIndex >& EllpackIndexMultimapValues< Index, Device, LocalIndex >:: operator=( const ThisType& other ) operator=( const EllpackIndexMultimapValues& other ) { Assert( this->getSize() == other.getSize(), ); if( this->values != other.values ) { Loading @@ -57,7 +57,7 @@ template< typename Index, typename LocalIndex > EllpackIndexMultimapValues< Index, Device, LocalIndex >& EllpackIndexMultimapValues< Index, Device, LocalIndex >:: operator=( ThisType&& other ) operator=( EllpackIndexMultimapValues&& other ) { this->values = other.values; this->valuesCount = other.valuesCount; Loading @@ -73,7 +73,7 @@ template< typename Index, typename LocalIndex > void EllpackIndexMultimapValues< Index, Device, LocalIndex >:: bind( const ThisType& other ) bind( const EllpackIndexMultimapValues& other ) { this->values = other.values; this->valuesCount = other.valuesCount; Loading Loading @@ -192,7 +192,7 @@ template< typename Index, typename LocalIndex > bool EllpackIndexMultimapValues< Index, Device, LocalIndex >:: operator==( const ThisType& other ) const operator==( const EllpackIndexMultimapValues& other ) const { if( this->getSize() != other.getSize() ) return false; Loading @@ -207,7 +207,7 @@ template< typename Index, typename LocalIndex > bool EllpackIndexMultimapValues< Index, Device, LocalIndex >:: operator!=( const ThisType& other ) const operator!=( const EllpackIndexMultimapValues& other ) const { return ! ( *this == other ); } Loading