Loading src/TNL/Containers/Array.h +195 −187 File changed.Preview size limit exceeded, changes collapsed. Show changes src/TNL/Containers/Array.hpp +2 −3 Original line number Diff line number Diff line Loading @@ -112,9 +112,8 @@ Array( const std::initializer_list< InValue >& list ) referenceCounter( 0 ) { this->setSize( list.size() ); //// // Here we assume that the underlying array for initializer_list is const T[N] // as noted here: // Here we assume that the underlying array for std::initializer_list is // const T[N] as noted here: // https://en.cppreference.com/w/cpp/utility/initializer_list Algorithms::ArrayOperations< Device, Devices::Host >::copyMemory( this->getData(), &( *list.begin() ), list.size() ); } Loading Loading
src/TNL/Containers/Array.h +195 −187 File changed.Preview size limit exceeded, changes collapsed. Show changes
src/TNL/Containers/Array.hpp +2 −3 Original line number Diff line number Diff line Loading @@ -112,9 +112,8 @@ Array( const std::initializer_list< InValue >& list ) referenceCounter( 0 ) { this->setSize( list.size() ); //// // Here we assume that the underlying array for initializer_list is const T[N] // as noted here: // Here we assume that the underlying array for std::initializer_list is // const T[N] as noted here: // https://en.cppreference.com/w/cpp/utility/initializer_list Algorithms::ArrayOperations< Device, Devices::Host >::copyMemory( this->getData(), &( *list.begin() ), list.size() ); } Loading