From 7bbef7523cfc872b4585f87a3a6fd4abbd3b7d11 Mon Sep 17 00:00:00 2001 From: Miguel Young de la Sota Date: Wed, 10 Jul 2024 16:59:39 -0400 Subject: [PATCH] rename best::seal --- best/meta/internal/reflect.h | 4 ++-- best/meta/reflect.h | 6 +++--- best/meta/traits.h | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/best/meta/internal/reflect.h b/best/meta/internal/reflect.h index 2960494..bee80de 100644 --- a/best/meta/internal/reflect.h +++ b/best/meta/internal/reflect.h @@ -376,8 +376,8 @@ class tdesc final { struct reify { template - static constexpr mirror, row<>>>, - best::seal>> + static constexpr mirror, row<>>>, + best::abridge>> empty{{{}, {}, {}}, {}}; template diff --git a/best/meta/reflect.h b/best/meta/reflect.h index 9587541..35cb3cf 100644 --- a/best/meta/reflect.h +++ b/best/meta/reflect.h @@ -89,8 +89,8 @@ constexpr auto fields(best::is_reflected_struct auto&& value) { template class mirror final { private: - using info_t = best::unseal; - using with_t = best::unseal; + using info_t = best::unabridge; + using with_t = best::unabridge; public: /// # `mirror::reflected` @@ -155,7 +155,7 @@ class mirror final { with_t with_; }; template -mirror(Ts...) -> mirror...>; +mirror(Ts...) -> mirror...>; /// # `best::reflected_field` /// diff --git a/best/meta/traits.h b/best/meta/traits.h index 28f0b79..887ff4a 100644 --- a/best/meta/traits.h +++ b/best/meta/traits.h @@ -96,16 +96,16 @@ using select = traits_internal::select::type; template using select_trait = traits_internal::select::type::type; -/// # `best::seal`, `best::unseal` +/// # `best::abridge`, `best::unabridge` /// -/// Seals a type. +/// Abridges a type name. /// /// This produces a new type with a very small opaque name that can be -/// `best::unseal`ed to produce the original type. +/// `best::unabridge`ed to produce the original type. template -using seal = decltype(best::traits_internal::seal>); +using abridge = decltype(best::traits_internal::seal>); template -using unseal = best::traits_internal::unseal::type; +using unabridge = best::traits_internal::unseal::type; } // namespace best #endif // BEST_META_TRAITS_H_