Skip to content
TensorStore
tensorstore::BoxView<Rank, Mutable>::DeepAssign
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
            • Data members
            • Types
            • Constructors
            • Methods
            • Accessors
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
              • CBoxView
                • Data members
                • Types
                • Constructors
                • Methods
                  • Foperator=
                  • Frank
                  • Foperator[]
                  • Forigin
                  • Fshape
                  • Fnum_elements
                  • Fis_empty
                  • FDeepAssign
                    • Requires
                    • Dchecks
                  • FFill
                  • Foperator()
              • TMutableBoxView
          • TDimensionSet
          • CIndexDomain
          • CIndexTransform
          • VIsIndexArray
          • CDimExpression
          • 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().

    Back to top
    Previous tensorstore::BoxView<Rank, Mutable>::is_empty
    Next tensorstore::BoxView<Rank, Mutable>::Fill