diff --git a/src/entt/core/ident.hpp b/src/entt/core/ident.hpp index 87330a206..51298ef0c 100644 --- a/src/entt/core/ident.hpp +++ b/src/entt/core/ident.hpp @@ -10,7 +10,7 @@ namespace entt { -namespace details { +namespace { template @@ -87,7 +87,7 @@ private: * @tparam Types List of types for which to generate identifiers. */ template -constexpr auto ident = details::Identifier...>{std::make_index_sequence{}}; +constexpr auto ident = Identifier...>{std::make_index_sequence{}}; } diff --git a/src/entt/process/scheduler.hpp b/src/entt/process/scheduler.hpp index 13d3ccae6..6e860cf53 100644 --- a/src/entt/process/scheduler.hpp +++ b/src/entt/process/scheduler.hpp @@ -43,7 +43,7 @@ namespace entt { template class Scheduler final { template - struct tag { using type = T; }; + struct type_t { using type = T; }; struct ProcessHandler final { using instance_type = std::unique_ptr; @@ -66,7 +66,7 @@ class Scheduler final { template decltype(auto) then(Args &&... args) && { static_assert(std::is_base_of, Proc>::value, "!"); - handler = Lambda::operator()(handler, tag{}, std::forward(args)...); + handler = Lambda::operator()(handler, type_t{}, std::forward(args)...); return std::move(*this); } diff --git a/src/entt/signal/sigh.hpp b/src/entt/signal/sigh.hpp index 62753e7fd..44318753f 100644 --- a/src/entt/signal/sigh.hpp +++ b/src/entt/signal/sigh.hpp @@ -10,7 +10,7 @@ namespace entt { -namespace details { +namespace { template @@ -83,7 +83,7 @@ using DefaultCollectorType = typename DefaultCollector::collector_type * @tparam Function A valid function type. * @tparam Collector Type of collector to use, if any. */ -template> +template> class SigH; @@ -111,8 +111,8 @@ class SigH; * @tparam Collector Type of collector to use, if any. */ template -class SigH final: private details::Invoker { - using call_type = typename details::Invoker::call_type; +class SigH final: private Invoker { + using call_type = typename Invoker::call_type; public: /*! @brief Unsigned integer type. */ @@ -139,6 +139,7 @@ public: * to the users of a class. */ class Sink final { + /*! @brief A signal is allowed to create sinks. */ friend class SigH; template diff --git a/src/entt/signal/signal.hpp b/src/entt/signal/signal.hpp index 26e25bf22..c6485c1b9 100644 --- a/src/entt/signal/signal.hpp +++ b/src/entt/signal/signal.hpp @@ -63,6 +63,7 @@ public: * to the users of a class. */ class Sink final { + /*! @brief A signal is allowed to create sinks. */ friend class Signal; template