#include "tensorstore/index_space/index_domain_builder.h"
IndexDomainBuilder& tensorstore::IndexDomainBuilder<Rank>::domain(
    
IndexDomainView<Rank> domain);

Copies an existing domain. Individual parts of the domain may then be overridden by calling other methods.

Pre:

valid() == true

Checks:

domain.size() == rank()

Note

Calling this method after any portion of the domain has already been specified simply overrides the previous values.