Commit 7bbc2366 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Revision of documentation for Array

parent 6c3bc7ca
Loading
Loading
Loading
Loading
+195 −187

File changed.

Preview size limit exceeded, changes collapsed.

+2 −3
Original line number Diff line number Diff line
@@ -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() );
}