Skip to content

Commit

Permalink
type_traits: refine has_void_element_type
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Dec 19, 2024
1 parent 3ed8049 commit b465e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entt/core/type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ template<typename, typename = void>
struct has_void_element_type: std::false_type {};

template<typename Type>
struct has_void_element_type<Type, typename std::pointer_traits<Type>::element_type>: std::true_type {};
struct has_void_element_type<Type, std::remove_const_t<typename std::pointer_traits<Type>::element_type>>: std::true_type {};

template<typename>
[[nodiscard]] constexpr bool dispatch_is_equality_comparable();
Expand Down

0 comments on commit b465e55

Please sign in to comment.