#include "tensorstore/index_space/transform_array_constraints.h"
enum class tensorstore::MustAllocateConstraint;

Specifies whether a new array must be allocated.

enumerator may_allocate = 0;

A reference to the existing array may be returned, or a new array may be allocated if necessary.

enumerator must_allocate = 1;

A new array will always be allocated.

constexpr const MustAllocateConstraint tensorstore::may_allocate =
   
 MustAllocateConstraint::may_allocate;
constexpr const MustAllocateConstraint tensorstore::must_allocate =
   
 MustAllocateConstraint::must_allocate;