TensorStore
tensorstore::Int2Padded::operator=[integer]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
          • C BFloat16
          • T Float8e3m4
          • C Int2Padded
            • Constructors
            • Conversion operators
            • Assignment operators
              • F operator= [bool]
              • F operator= [integer]
            • Arithmetic operators
            • Bitwise operators
            • Basic operations
            • Power functions
          • C Int4Padded
          • T bool_t
          • T char_t
          • T byte_t
          • T int2_t
          • T int4_t
          • T int8_t
          • T uint8_t
          • T int16_t
          • T uint16_t
          • T int32_t
          • T uint32_t
          • T int64_t
          • T uint64_t
          • T float8_e3m4_t
          • T float8_e4m3fn_t
          • T float8_e4m3fnuz_t
          • T float8_e4m3b11fnuz_t
          • T float8_e5m2_t
          • T float8_e5m2fnuz_t
          • T bfloat16_t
          • T float16_t
          • T float32_t
          • T float64_t
          • T complex64_t
          • T complex128_t
          • T string_t
          • T ustring_t
          • T json_t
          • C DataType
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/util/int2.h"
    template <typename T>
      
    requires std::numeric_limits<T>::is_integer
    Int2Padded
    & tensorstore::Int2Padded::operator=(T v);

    Possibly lossy conversion from any integer type.