TensorStore
tensorstore::IsCompatibleOptionSequence
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
          • Cspan
          • CUtf8String
          • CSmallBitSet
          • CMaybeHardConstraintSpan
          • CMaybeHardConstraintIndex
          • VIsCompatibleOptionSequence
          • Error handling
          • Asynchronous support
          • JSON serialization
          • Compile-time data type/rank/mode constraints
          • String Utilities
          • Index vectors
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/util/option.h"
    template <typename Options, typename... Option>
    constexpr bool tensorstore::IsCompatibleOptionSequence =
       
     ((!std::is_same_v<Options, std::remove_cvref_t<Option>> &&
         
     Options::template IsOption<std::remove_cvref_t<Option>>) &&
        
     ...);

    Checks if every Option is compatible with the specified Options type.

    Back to top
    Previous tensorstore::MaybeHardConstraintIndex::hard_constraint
    Next TENSORSTORE_RETURN_IF_ERROR