Skip to content
TensorStore
tensorstore::BoxView<Rank, Mutable>::DeepAssign
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • T Index
          • T DimensionIndex
          • C IndexInterval
          • C OptionallyImplicitIndexInterval
          • C IndexDomainDimension
          • T InlineRank
          • C RankConstraint
          • C Box
            • Data members
            • Types
            • Constructors
            • Methods
            • Accessors
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
              • C BoxView
                • Data members
                • Types
                • Constructors
                • Methods
                  • F operator=
                  • F rank
                  • F operator[]
                  • F origin
                  • F shape
                  • F num_elements
                  • F is_empty
                  • F DeepAssign
                    • Requires
                    • Dchecks
                  • F Fill
                  • F operator()
              • T MutableBoxView
          • T DimensionSet
          • C IndexDomain
          • C IndexTransform
          • V IsIndexArray
          • C DimExpression
          • Alignment
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Requires
    • Dchecks
    #include "tensorstore/box.h"
    template <typename BoxType>
      
    requires Mutable &&
               IsBoxLikeImplicitlyConvertibleToRank<BoxType, Rank>
    void tensorstore::BoxView<Rank, Mutable>::DeepAssign(
        
    const BoxType& other) const;

    Copies the contents of other.origin() and other.shape() to origin() and shape(), respectively.

    Requires:¶

    BoxType::static_rank must be implicitly compatible with Rank

    Dchecks:¶

    other.rank() == rank().