#include "tensorstore/array.h"
template <typename SourcePointer = ElementPointer>
  
requires std::is_convertible_v<SourcePointer, ElementPointer> &&
          
 (RankConstraint::Implies(0, static_rank))
tensorstore::
    
Array<ElementTagType, Rank, OriginKind, LayoutContainerKind>::
        
Array(SourcePointer element_pointer);

Constructs a rank-0 array from an implicitly convertible element_pointer.

Requires:

static_rank == 0 || static_rank == dynamic_rank.

Post:

this->element_pointer() == element_pointer

Post:

this->layout() == StridedLayoutView<0>()