-
#include "tensorstore/data_type.h"
- enum class tensorstore::ElementInitialization;
Specifies the form of initialization to use when allocating an array.
- enumerator default_init;¶
Specifies default initialization. For primitive types, or class types for which the default constructor leaves some members uninitialized, this results in indeterminate values.
- enumerator value_init;¶
Specifies value initialization.
Related Constants¶
-
constexpr const ElementInitialization tensorstore::default_init =
ElementInitialization::default_init;
-
constexpr const ElementInitialization tensorstore::value_init =
ElementInitialization::value_init;