#include "tensorstore/index_space/index_domain.h"
template <typename Func>
friend PipelineResultType<IndexDomain&&, Func>
tensorstore::IndexDomain<Rank, CKind>::operator|(IndexDomain domain,
                                                 
Func&func);

“Pipeline” operator.

In the expression domain | func, if func is a function having signature Result<U>(IndexDomain), then operator| applies func to the value of domain, returning a Result<U>.

See tensorstore::Result::operator| for examples.