diff --git a/develop/singles/headers/meta.hpp/meta_all.hpp b/develop/singles/headers/meta.hpp/meta_all.hpp index 0edd490..7261f1b 100644 --- a/develop/singles/headers/meta.hpp/meta_all.hpp +++ b/develop/singles/headers/meta.hpp/meta_all.hpp @@ -6371,7 +6371,7 @@ namespace meta_hpp::detail namespace meta_hpp::detail { - template < typename T > + template < typename > struct shared_type_name; template < type_kind, typename... > @@ -6434,24 +6434,10 @@ namespace meta_hpp::detail } }; - template < type_kind Kind, shared_type_kind Type > - struct shared_type_data_hash { + template < type_kind Kind, shared_type_kind... Types > + struct shared_type_data_hash { [[nodiscard]] std::size_t operator()(const void*) const noexcept { - return shared_type_hash{}(); - } - }; - - template < shared_type_kind Class, shared_type_kind... Args > - struct shared_type_data_hash { - [[nodiscard]] std::size_t operator()(const void*) const noexcept { - return shared_type_hash{}(); - } - }; - - template < shared_type_kind Class > - struct shared_type_data_hash { - [[nodiscard]] std::size_t operator()(const void*) const noexcept { - return shared_type_hash{}(); + return shared_type_hash{}(); } }; } diff --git a/headers/meta.hpp/meta_detail/type_sharing.hpp b/headers/meta.hpp/meta_detail/type_sharing.hpp index b5f1630..1aaa7dd 100644 --- a/headers/meta.hpp/meta_detail/type_sharing.hpp +++ b/headers/meta.hpp/meta_detail/type_sharing.hpp @@ -22,7 +22,7 @@ namespace meta_hpp::detail { - template < typename T > + template < typename > struct shared_type_name; template < type_kind, typename... > @@ -85,24 +85,10 @@ namespace meta_hpp::detail } }; - template < type_kind Kind, shared_type_kind Type > - struct shared_type_data_hash { + template < type_kind Kind, shared_type_kind... Types > + struct shared_type_data_hash { [[nodiscard]] std::size_t operator()(const void*) const noexcept { - return shared_type_hash{}(); - } - }; - - template < shared_type_kind Class, shared_type_kind... Args > - struct shared_type_data_hash { - [[nodiscard]] std::size_t operator()(const void*) const noexcept { - return shared_type_hash{}(); - } - }; - - template < shared_type_kind Class > - struct shared_type_data_hash { - [[nodiscard]] std::size_t operator()(const void*) const noexcept { - return shared_type_hash{}(); + return shared_type_hash{}(); } }; }