#include "tensorstore/batch.h"
class tensorstore::Batch::View;

Unowned reference to an optional batch.

Constructors

constexpr View();
constexpr View(no_batch_t);

Constructs a view that refers to no_batch.

constexpr View(const Batchbatch);

Constructs a view that refers to an existing batch.

Conversion operators

explicit constexpr operator bool() const;

Returns true if this refers to a batch (as opposed to no_batch).

Methods

bool deferred() const;

Returns true if this refers to a batch that has not yet been submitted.