Browse Source

constness_as: updated doc

Michele Caini 5 years ago
parent
commit
d8623991c0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/entt/core/type_traits.hpp

+ 2 - 0
src/entt/core/type_traits.hpp

@@ -329,6 +329,7 @@ inline constexpr auto is_empty_v = is_empty<Type>::value;
  */
  */
 template<typename To, typename From>
 template<typename To, typename From>
 struct constness_as {
 struct constness_as {
+    /*! @brief The type resulting from the transcription of the constness */
     using type = std::remove_const_t<To>;
     using type = std::remove_const_t<To>;
 };
 };
 
 
@@ -336,6 +337,7 @@ struct constness_as {
 /*! @copydoc constness_as */
 /*! @copydoc constness_as */
 template<typename To, typename From>
 template<typename To, typename From>
 struct constness_as<To, const From> {
 struct constness_as<To, const From> {
+    /*! @brief The type resulting from the transcription of the constness */
     using type = std::add_const_t<To>;
     using type = std::add_const_t<To>;
 };
 };