-
#include "tensorstore/array.h"
-
template <typename SourcePointer = ElementPointer,
typename SourceLayout>
requires std::is_constructible_v<ElementPointer, SourcePointer> &&
std::is_constructible_v<Layout, SourceLayout>
explicit(!std::is_convertible_v<SourcePointer, ElementPointer> ||
!std::is_convertible_v<SourceLayout, Layout>) tensorstore::
Array<ElementTagType, Rank, OriginKind, LayoutContainerKind>::
Array(SourcePointer element_pointer, SourceLayout&& layout); Constructs an array from a convertible
element_pointer
andlayout
.