#include "tensorstore/array.h"
template <typename Func>
PipelineResultType<const Array&, Func>
tensorstore::Array<ElementTagType,
                   Rank,
                   OriginKind,
                   LayoutContainerKind>::
operator|(Func&func)
    const&;
template <typename Func>
PipelineResultType<Array&&, Func>
tensorstore::Array<ElementTagType,
                   Rank,
                   OriginKind,
                   LayoutContainerKind>::
operator|(Func&func) &&;

“Pipeline” operator.

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

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