#include "tensorstore/static_cast.h"
enum class tensorstore::CastChecking;

Enum type used as a template parameter to casts to choose between an unchecked cast (that returns the bare value T) and a checked cast that returns Result<T>.

enumerator checked = 0;

Indicates that the cast is checked at runtime and returns a Result<T>.

enumerator unchecked = 1;

Indicates that the cast is unchecked and returns a bare value T.