Searched refs:variant_index_of_v (Results 1 - 5 of 5) sorted by relevance
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | traits_test.cpp | 137 * @tc.name: variant_index_of_v 143 HWTEST_F(TraitsTest, variant_index_of_v, TestSize.Level0) in HWTEST_F() 146 auto index = Traits::variant_index_of_v<std::monostate, decltype(value)>; in HWTEST_F() 148 index = Traits::variant_index_of_v<int64_t, decltype(value)>; in HWTEST_F() 150 index = Traits::variant_index_of_v<bool, decltype(value)>; in HWTEST_F() 152 index = Traits::variant_index_of_v<double, decltype(value)>; in HWTEST_F() 154 index = Traits::variant_index_of_v<std::string, decltype(value)>; in HWTEST_F() 156 index = Traits::variant_index_of_v<std::vector<uint8_t>, decltype(value)>; in HWTEST_F() 158 index = Traits::variant_index_of_v<char *, decltype(value)>; in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | traits.h | 74 // variant_index_of_v is the count of the variant V's types. 78 // If T is one type of the variant V, variant_index_of_v is the index. If not, variant_index_of_v is the size. 80 inline constexpr size_t variant_index_of_v = decltype(variant_index_test(std::declval<T>(), std::declval<V>()))::value; member
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/ |
H A D | general_value.h | 128 inline constexpr size_t TYPE_INDEX = Traits::variant_index_of_v<T, Value>;
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/ |
H A D | traits.h | 74 // variant_index_of_v is the count of the variant V's types. 78 // If T is one type of the variant V, variant_index_of_v is the index. If not, variant_index_of_v is the size. 80 inline constexpr size_t variant_index_of_v = decltype(variant_index_test(std::declval<T>(), std::declval<V>()))::value; member
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_store.cpp | 26 if (priKey.index() != Traits::variant_index_of_v<std::string, PRIKey>) { in ModifyTime()
|
Completed in 4 milliseconds