-
#include "tensorstore/array.h"
-
template <typename Source, typename Dest>
requires IsArray<Source> && IsArray<Dest>
void tensorstore::CopyArray(const Source& source, const Dest& dest); Copies the contents of
source
todest
.This checks at compile time that the static ranks and element types of
source
anddest
are compatible.- Checks:¶