Home
last modified time | relevance | path

Searched refs:matching_type (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dvector.h916 constexpr auto matching_type = BASE_NS::is_same_v<TypeToInsert, value_type>; in copy() local
920 …if constexpr (BASE_NS::is_pointer_v<InputIt> && matching_type && is_trivially_copy_constructable) { in copy()
923 } else if constexpr (is_random_access && has_ptr_method<InputIt>::value && matching_type && in copy()
931 static_assert(matching_type || convertible_type, "Invalid input type"); in copy()
933 if constexpr (matching_type) { in copy()
1098 constexpr auto matching_type = in init_copy() local
1103 if constexpr (BASE_NS::is_pointer_v<InputIt> && matching_type) { in init_copy()
1106 } else if constexpr (is_random_access && has_ptr_method<InputIt>::value && matching_type) { in init_copy()
1113 static_assert(matching_type || convertible_type, "Invalid input type"); in init_copy()
1115 if constexpr (matching_type) { in init_copy()