From b816f203cdc801c1ad49dfab8f743901f0b26763 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 24 Jan 2020 16:10:47 +0100 Subject: [PATCH] doc: minor changes (close #398) --- src/entt/core/utility.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/entt/core/utility.hpp b/src/entt/core/utility.hpp index 3bb16b8ab..1092de856 100644 --- a/src/entt/core/utility.hpp +++ b/src/entt/core/utility.hpp @@ -25,11 +25,11 @@ struct identity { /** - * @brief Constant utility to disambiguate overloaded member functions. - * @tparam Type Function type of the desired overload. - * @tparam Class Type of class to which the member functions belong. - * @param member A valid pointer to a member function. - * @return Pointer to the member function. + * @brief Constant utility to disambiguate overloaded members of a class. + * @tparam Type Type of the desired overload. + * @tparam Class Type of class to which the member belongs. + * @param member A valid pointer to a member. + * @return Pointer to the member. */ template constexpr auto overload(Type Class:: *member) ENTT_NOEXCEPT { return member; } @@ -37,12 +37,12 @@ constexpr auto overload(Type Class:: *member) ENTT_NOEXCEPT { return member; } /** * @brief Constant utility to disambiguate overloaded functions. - * @tparam Type Function type of the desired overload. + * @tparam Func Function type of the desired overload. * @param func A valid pointer to a function. * @return Pointer to the function. */ -template -constexpr auto overload(Type *func) ENTT_NOEXCEPT { return func; } +template +constexpr auto overload(Func *func) ENTT_NOEXCEPT { return func; } /** @@ -59,8 +59,8 @@ struct overloaded: Func... { * @brief Deduction guide. * @tparam Func Types of function objects. */ -template -overloaded(Type...) -> overloaded; +template +overloaded(Func...) -> overloaded; /**