Searched refs:same_index_of_v (Results 1 - 4 of 4) sorted by relevance
/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | traits.h | 33 // If there is one in the ...Types, that is equal to T. same_index_of_v is the index. 34 // If there is no one in the ...Types, that is equal to T. same_index_of_v is sizeof ...(Types) 36 inline constexpr size_t same_index_of_v = index_of<T, Types...>::value; member 40 inline constexpr bool same_in_v = (same_index_of_v<T, Types...> < sizeof...(Types)); 65 static constexpr size_t value = same_index_of_v<T, Types...>;
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/ |
H A D | traits.h | 33 // If there is one in the ...Types, that is equal to T. same_index_of_v is the index. 34 // If there is no one in the ...Types, that is equal to T. same_index_of_v is sizeof ...(Types) 36 inline constexpr size_t same_index_of_v = index_of<T, Types...>::value; member 40 inline constexpr bool same_in_v = (same_index_of_v<T, Types...> < sizeof...(Types)); 65 static constexpr size_t value = same_index_of_v<T, Types...>;
|
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | traits_test.cpp | 48 * @tc.name: same_index_of_v 54 HWTEST_F(TraitsTest, same_index_of_v, TestSize.Level0) in HWTEST_F() 56 auto index = Traits::same_index_of_v<int32_t, int32_t, double, std::vector<uint8_t>>; in HWTEST_F() 58 index = Traits::same_index_of_v<std::string, int32_t, double, std::vector<uint8_t>>; in HWTEST_F() 60 index = Traits::same_index_of_v<std::string>; in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/common/ |
H A D | value_proxy.h | 36 : Traits::same_index_of_v<T, Types...>;
|
Completed in 3 milliseconds