Searched refs:convertible_index_of_v (Results 1 - 4 of 4) sorted by relevance
/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | traits.h | 48 inline constexpr size_t convertible_index_of_v = convertible_index_of<Tp, Types...>::value; member 52 : std::integral_constant<size_t, std::is_convertible_v<First, Tp> ? 0 : convertible_index_of_v<Tp, Rest...> + 1> {}; 56 inline constexpr bool convertible_in_v = (convertible_index_of_v<T, Types...> < sizeof...(Types)); 101 template<class T, class... Types, size_t NP = convertible_in_v<T, Types...> ? convertible_index_of_v<T, Types...> : 0> 109 template<class T, class... Types, size_t NP = convertible_in_v<T, Types...> ? convertible_index_of_v<T, Types...> : 0>
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/ |
H A D | traits.h | 48 inline constexpr size_t convertible_index_of_v = convertible_index_of<Tp, Types...>::value; member 52 : std::integral_constant<size_t, std::is_convertible_v<First, Tp> ? 0 : convertible_index_of_v<Tp, Rest...> + 1> {}; 56 inline constexpr bool convertible_in_v = (convertible_index_of_v<T, Types...> < sizeof...(Types)); 102 size_t NP = convertible_in_v<T, Types...> ? convertible_index_of_v<T, Types...> : 0> 111 size_t NP = convertible_in_v<T, Types...> ? convertible_index_of_v<T, Types...> : 0>
|
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | traits_test.cpp | 82 * @tc.name: convertible_index_of_v 88 HWTEST_F(TraitsTest, convertible_index_of_v, TestSize.Level0) in HWTEST_F() 90 auto index = Traits::convertible_index_of_v<int32_t, int16_t, double, std::vector<uint8_t>>; in HWTEST_F() 92 index = Traits::convertible_index_of_v<std::string, int16_t, const char *, std::vector<uint8_t>>; in HWTEST_F() 94 index = Traits::convertible_index_of_v<std::string, int16_t, std::vector<uint8_t>>; in HWTEST_F() 96 index = Traits::convertible_index_of_v<std::string>; in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/common/ |
H A D | value_proxy.h | 35 static constexpr size_t value = std::is_class_v<T> ? Traits::convertible_index_of_v<T, Types...>
|
Completed in 3 milliseconds