diff --git a/develop/singles/headers/meta.hpp/meta_all.hpp b/develop/singles/headers/meta.hpp/meta_all.hpp index ab1d096..f2fe80a 100644 --- a/develop/singles/headers/meta.hpp/meta_all.hpp +++ b/develop/singles/headers/meta.hpp/meta_all.hpp @@ -779,15 +779,15 @@ namespace meta_hpp::detail template <> struct fnv1a_hash_traits { using underlying_type = std::uint32_t; - static inline constexpr underlying_type prime{16777619U}; - static inline constexpr underlying_type offset_basis{2166136261U}; + static constexpr underlying_type prime{16777619U}; + static constexpr underlying_type offset_basis{2166136261U}; }; template <> struct fnv1a_hash_traits { using underlying_type = std::uint64_t; - static inline constexpr underlying_type prime{1099511628211U}; - static inline constexpr underlying_type offset_basis{14695981039346656037U}; + static constexpr underlying_type prime{1099511628211U}; + static constexpr underlying_type offset_basis{14695981039346656037U}; }; template < typename T > @@ -1559,8 +1559,8 @@ namespace meta_hpp::detail static constexpr std::size_t extent{std::extent_v}; using cv_data_type = std::remove_extent_t; - inline static constexpr bool is_readonly = std::is_const_v; - inline static constexpr bool is_volatile = std::is_volatile_v; + static constexpr bool is_readonly = std::is_const_v; + static constexpr bool is_volatile = std::is_volatile_v; using data_type = std::remove_cv_t; @@ -2043,8 +2043,8 @@ namespace meta_hpp::detail template < typename V, typename C > struct member_traits { using cv_value_type = V; - inline static constexpr bool is_readonly = std::is_const_v; - inline static constexpr bool is_volatile = std::is_volatile_v; + static constexpr bool is_readonly = std::is_const_v; + static constexpr bool is_volatile = std::is_volatile_v; using class_type = C; using value_type = std::remove_cv_t; @@ -2271,8 +2271,8 @@ namespace meta_hpp::detail template < pointer_kind Pointer > struct pointer_traits { using cv_data_type = std::remove_pointer_t; - inline static constexpr bool is_readonly = std::is_const_v; - inline static constexpr bool is_volatile = std::is_volatile_v; + static constexpr bool is_readonly = std::is_const_v; + static constexpr bool is_volatile = std::is_volatile_v; using data_type = std::remove_cv_t; @@ -2310,8 +2310,8 @@ namespace meta_hpp::detail template < reference_kind Reference > struct reference_traits { using cv_data_type = std::remove_reference_t; - inline static constexpr bool is_readonly = std::is_const_v; - inline static constexpr bool is_volatile = std::is_volatile_v; + static constexpr bool is_readonly = std::is_const_v; + static constexpr bool is_volatile = std::is_volatile_v; using data_type = std::remove_cv_t; @@ -2386,7 +2386,7 @@ namespace meta_hpp::detail using type = array_type; using data_ptr = array_type_data*; using data_type = array_type_data; - inline static constexpr type_kind kind{type_kind::array_}; + static constexpr type_kind kind{type_kind::array_}; }; template <> @@ -2394,7 +2394,7 @@ namespace meta_hpp::detail using type = class_type; using data_ptr = class_type_data*; using data_type = class_type_data; - inline static constexpr type_kind kind{type_kind::class_}; + static constexpr type_kind kind{type_kind::class_}; }; template <> @@ -2402,7 +2402,7 @@ namespace meta_hpp::detail using type = constructor_type; using data_ptr = constructor_type_data*; using data_type = constructor_type_data; - inline static constexpr type_kind kind{type_kind::constructor_}; + static constexpr type_kind kind{type_kind::constructor_}; }; template <> @@ -2410,7 +2410,7 @@ namespace meta_hpp::detail using type = destructor_type; using data_ptr = destructor_type_data*; using data_type = destructor_type_data; - inline static constexpr type_kind kind{type_kind::destructor_}; + static constexpr type_kind kind{type_kind::destructor_}; }; template <> @@ -2418,7 +2418,7 @@ namespace meta_hpp::detail using type = enum_type; using data_ptr = enum_type_data*; using data_type = enum_type_data; - inline static constexpr type_kind kind{type_kind::enum_}; + static constexpr type_kind kind{type_kind::enum_}; }; template <> @@ -2426,7 +2426,7 @@ namespace meta_hpp::detail using type = function_type; using data_ptr = function_type_data*; using data_type = function_type_data; - inline static constexpr type_kind kind{type_kind::function_}; + static constexpr type_kind kind{type_kind::function_}; }; template <> @@ -2434,7 +2434,7 @@ namespace meta_hpp::detail using type = member_type; using data_ptr = member_type_data*; using data_type = member_type_data; - inline static constexpr type_kind kind{type_kind::member_}; + static constexpr type_kind kind{type_kind::member_}; }; template <> @@ -2442,7 +2442,7 @@ namespace meta_hpp::detail using type = method_type; using data_ptr = method_type_data*; using data_type = method_type_data; - inline static constexpr type_kind kind{type_kind::method_}; + static constexpr type_kind kind{type_kind::method_}; }; template <> @@ -2450,7 +2450,7 @@ namespace meta_hpp::detail using type = nullptr_type; using data_ptr = nullptr_type_data*; using data_type = nullptr_type_data; - inline static constexpr type_kind kind{type_kind::nullptr_}; + static constexpr type_kind kind{type_kind::nullptr_}; }; template <> @@ -2458,7 +2458,7 @@ namespace meta_hpp::detail using type = number_type; using data_ptr = number_type_data*; using data_type = number_type_data; - inline static constexpr type_kind kind{type_kind::number_}; + static constexpr type_kind kind{type_kind::number_}; }; template <> @@ -2466,7 +2466,7 @@ namespace meta_hpp::detail using type = pointer_type; using data_ptr = pointer_type_data*; using data_type = pointer_type_data; - inline static constexpr type_kind kind{type_kind::pointer_}; + static constexpr type_kind kind{type_kind::pointer_}; }; template <> @@ -2474,7 +2474,7 @@ namespace meta_hpp::detail using type = reference_type; using data_ptr = reference_type_data*; using data_type = reference_type_data; - inline static constexpr type_kind kind{type_kind::reference_}; + static constexpr type_kind kind{type_kind::reference_}; }; template <> @@ -2482,7 +2482,7 @@ namespace meta_hpp::detail using type = void_type; using data_ptr = void_type_data*; using data_type = void_type_data; - inline static constexpr type_kind kind{type_kind::void_}; + static constexpr type_kind kind{type_kind::void_}; }; } @@ -11329,12 +11329,12 @@ namespace meta_hpp // NOLINTEND(*-avoid-const-or-ref-data-members) template < typename T > - inline static constexpr bool in_internal_v = // + static constexpr bool in_internal_v = // (sizeof(T) <= sizeof(internal_storage_t)) && (alignof(internal_storage_t) % alignof(T) == 0) && std::is_nothrow_destructible_v && std::is_nothrow_move_constructible_v; template < typename T > - inline static constexpr bool in_trivial_internal_v = // + static constexpr bool in_trivial_internal_v = // in_internal_v && std::is_trivially_copyable_v; static std::pair unpack_vtag(const uvalue& self) noexcept { diff --git a/headers/meta.hpp/meta_base/fnv1a_hash.hpp b/headers/meta.hpp/meta_base/fnv1a_hash.hpp index 375ab3c..62c7545 100644 --- a/headers/meta.hpp/meta_base/fnv1a_hash.hpp +++ b/headers/meta.hpp/meta_base/fnv1a_hash.hpp @@ -19,15 +19,15 @@ namespace meta_hpp::detail template <> struct fnv1a_hash_traits { using underlying_type = std::uint32_t; - static inline constexpr underlying_type prime{16777619U}; - static inline constexpr underlying_type offset_basis{2166136261U}; + static constexpr underlying_type prime{16777619U}; + static constexpr underlying_type offset_basis{2166136261U}; }; template <> struct fnv1a_hash_traits { using underlying_type = std::uint64_t; - static inline constexpr underlying_type prime{1099511628211U}; - static inline constexpr underlying_type offset_basis{14695981039346656037U}; + static constexpr underlying_type prime{1099511628211U}; + static constexpr underlying_type offset_basis{14695981039346656037U}; }; template < typename T > diff --git a/headers/meta.hpp/meta_detail/type_family.hpp b/headers/meta.hpp/meta_detail/type_family.hpp index 9949206..a8da6ba 100644 --- a/headers/meta.hpp/meta_detail/type_family.hpp +++ b/headers/meta.hpp/meta_detail/type_family.hpp @@ -65,7 +65,7 @@ namespace meta_hpp::detail using type = array_type; using data_ptr = array_type_data*; using data_type = array_type_data; - inline static constexpr type_kind kind{type_kind::array_}; + static constexpr type_kind kind{type_kind::array_}; }; template <> @@ -73,7 +73,7 @@ namespace meta_hpp::detail using type = class_type; using data_ptr = class_type_data*; using data_type = class_type_data; - inline static constexpr type_kind kind{type_kind::class_}; + static constexpr type_kind kind{type_kind::class_}; }; template <> @@ -81,7 +81,7 @@ namespace meta_hpp::detail using type = constructor_type; using data_ptr = constructor_type_data*; using data_type = constructor_type_data; - inline static constexpr type_kind kind{type_kind::constructor_}; + static constexpr type_kind kind{type_kind::constructor_}; }; template <> @@ -89,7 +89,7 @@ namespace meta_hpp::detail using type = destructor_type; using data_ptr = destructor_type_data*; using data_type = destructor_type_data; - inline static constexpr type_kind kind{type_kind::destructor_}; + static constexpr type_kind kind{type_kind::destructor_}; }; template <> @@ -97,7 +97,7 @@ namespace meta_hpp::detail using type = enum_type; using data_ptr = enum_type_data*; using data_type = enum_type_data; - inline static constexpr type_kind kind{type_kind::enum_}; + static constexpr type_kind kind{type_kind::enum_}; }; template <> @@ -105,7 +105,7 @@ namespace meta_hpp::detail using type = function_type; using data_ptr = function_type_data*; using data_type = function_type_data; - inline static constexpr type_kind kind{type_kind::function_}; + static constexpr type_kind kind{type_kind::function_}; }; template <> @@ -113,7 +113,7 @@ namespace meta_hpp::detail using type = member_type; using data_ptr = member_type_data*; using data_type = member_type_data; - inline static constexpr type_kind kind{type_kind::member_}; + static constexpr type_kind kind{type_kind::member_}; }; template <> @@ -121,7 +121,7 @@ namespace meta_hpp::detail using type = method_type; using data_ptr = method_type_data*; using data_type = method_type_data; - inline static constexpr type_kind kind{type_kind::method_}; + static constexpr type_kind kind{type_kind::method_}; }; template <> @@ -129,7 +129,7 @@ namespace meta_hpp::detail using type = nullptr_type; using data_ptr = nullptr_type_data*; using data_type = nullptr_type_data; - inline static constexpr type_kind kind{type_kind::nullptr_}; + static constexpr type_kind kind{type_kind::nullptr_}; }; template <> @@ -137,7 +137,7 @@ namespace meta_hpp::detail using type = number_type; using data_ptr = number_type_data*; using data_type = number_type_data; - inline static constexpr type_kind kind{type_kind::number_}; + static constexpr type_kind kind{type_kind::number_}; }; template <> @@ -145,7 +145,7 @@ namespace meta_hpp::detail using type = pointer_type; using data_ptr = pointer_type_data*; using data_type = pointer_type_data; - inline static constexpr type_kind kind{type_kind::pointer_}; + static constexpr type_kind kind{type_kind::pointer_}; }; template <> @@ -153,7 +153,7 @@ namespace meta_hpp::detail using type = reference_type; using data_ptr = reference_type_data*; using data_type = reference_type_data; - inline static constexpr type_kind kind{type_kind::reference_}; + static constexpr type_kind kind{type_kind::reference_}; }; template <> @@ -161,7 +161,7 @@ namespace meta_hpp::detail using type = void_type; using data_ptr = void_type_data*; using data_type = void_type_data; - inline static constexpr type_kind kind{type_kind::void_}; + static constexpr type_kind kind{type_kind::void_}; }; } diff --git a/headers/meta.hpp/meta_detail/type_traits/array_traits.hpp b/headers/meta.hpp/meta_detail/type_traits/array_traits.hpp index 71a0245..c984139 100644 --- a/headers/meta.hpp/meta_detail/type_traits/array_traits.hpp +++ b/headers/meta.hpp/meta_detail/type_traits/array_traits.hpp @@ -30,8 +30,8 @@ namespace meta_hpp::detail static constexpr std::size_t extent{std::extent_v}; using cv_data_type = std::remove_extent_t; - inline static constexpr bool is_readonly = std::is_const_v; - inline static constexpr bool is_volatile = std::is_volatile_v; + static constexpr bool is_readonly = std::is_const_v; + static constexpr bool is_volatile = std::is_volatile_v; using data_type = std::remove_cv_t; diff --git a/headers/meta.hpp/meta_detail/type_traits/member_traits.hpp b/headers/meta.hpp/meta_detail/type_traits/member_traits.hpp index 8030c71..02f66b0 100644 --- a/headers/meta.hpp/meta_detail/type_traits/member_traits.hpp +++ b/headers/meta.hpp/meta_detail/type_traits/member_traits.hpp @@ -37,8 +37,8 @@ namespace meta_hpp::detail template < typename V, typename C > struct member_traits { using cv_value_type = V; - inline static constexpr bool is_readonly = std::is_const_v; - inline static constexpr bool is_volatile = std::is_volatile_v; + static constexpr bool is_readonly = std::is_const_v; + static constexpr bool is_volatile = std::is_volatile_v; using class_type = C; using value_type = std::remove_cv_t; diff --git a/headers/meta.hpp/meta_detail/type_traits/pointer_traits.hpp b/headers/meta.hpp/meta_detail/type_traits/pointer_traits.hpp index 090bbee..bad4450 100644 --- a/headers/meta.hpp/meta_detail/type_traits/pointer_traits.hpp +++ b/headers/meta.hpp/meta_detail/type_traits/pointer_traits.hpp @@ -26,8 +26,8 @@ namespace meta_hpp::detail template < pointer_kind Pointer > struct pointer_traits { using cv_data_type = std::remove_pointer_t; - inline static constexpr bool is_readonly = std::is_const_v; - inline static constexpr bool is_volatile = std::is_volatile_v; + static constexpr bool is_readonly = std::is_const_v; + static constexpr bool is_volatile = std::is_volatile_v; using data_type = std::remove_cv_t; diff --git a/headers/meta.hpp/meta_detail/type_traits/reference_traits.hpp b/headers/meta.hpp/meta_detail/type_traits/reference_traits.hpp index 8456783..1de22e0 100644 --- a/headers/meta.hpp/meta_detail/type_traits/reference_traits.hpp +++ b/headers/meta.hpp/meta_detail/type_traits/reference_traits.hpp @@ -28,8 +28,8 @@ namespace meta_hpp::detail template < reference_kind Reference > struct reference_traits { using cv_data_type = std::remove_reference_t; - inline static constexpr bool is_readonly = std::is_const_v; - inline static constexpr bool is_volatile = std::is_volatile_v; + static constexpr bool is_readonly = std::is_const_v; + static constexpr bool is_volatile = std::is_volatile_v; using data_type = std::remove_cv_t; diff --git a/headers/meta.hpp/meta_uvalue/uvalue.hpp b/headers/meta.hpp/meta_uvalue/uvalue.hpp index 04b4c15..2a6e359 100644 --- a/headers/meta.hpp/meta_uvalue/uvalue.hpp +++ b/headers/meta.hpp/meta_uvalue/uvalue.hpp @@ -39,12 +39,12 @@ namespace meta_hpp // NOLINTEND(*-avoid-const-or-ref-data-members) template < typename T > - inline static constexpr bool in_internal_v = // + static constexpr bool in_internal_v = // (sizeof(T) <= sizeof(internal_storage_t)) && (alignof(internal_storage_t) % alignof(T) == 0) && std::is_nothrow_destructible_v && std::is_nothrow_move_constructible_v; template < typename T > - inline static constexpr bool in_trivial_internal_v = // + static constexpr bool in_trivial_internal_v = // in_internal_v && std::is_trivially_copyable_v; static std::pair unpack_vtag(const uvalue& self) noexcept {