#include "tensorstore/context.h"
explicit tensorstore::Context::Context(const Specspec,
                                       
Context parent = {});

Constructs a context from a Spec.

The actual resources are created lazily as needed.

Parameters:
const Spec &spec

The context spec.

Context parent = {}

The parent context to extend. Specifying a null context is equivalent to specifying Default().