#include "tensorstore/index_space/index_domain_builder.h"
template <typename Labels>
IndexDomainBuilder&
tensorstore::IndexDomainBuilder<Rank>::labels(const Labels& labels);
template <size_t N>
IndexDomainBuilder& tensorstore::IndexDomainBuilder<Rank>::labels(
    
const std::string_view (&labels)[N]);

Sets the labels vector to the specified value.

Parameters:
const Labels &labels
const std::string_view (&labels)[N]

A sequence with value_type convertible to std::string_view specifying the label for each dimension.

Pre:

valid() == true

Checks:

The size of the labels vector must equal rank().

Note

Calling this method after it has already been called simply overrides the previous value.