skypjack 7 mesi fa
parent
commit
15b8db6f61
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      src/entt/container/dense_map.hpp

+ 6 - 1
src/entt/container/dense_map.hpp

@@ -725,7 +725,12 @@ public:
         return it->second;
         return it->second;
     }
     }
 
 
-    /*! @copydoc at */
+    /**
+     * @brief Accesses a given element with bounds checking.
+     * @tparam Other Type of the key of an element to find.
+     * @param key A key of an element to find.
+     * @return A reference to the mapped value of the requested element.
+     */
     template<typename Other>
     template<typename Other>
     [[nodiscard]] std::enable_if_t<is_transparent_v<hasher> && is_transparent_v<key_equal>, std::conditional_t<false, Other, mapped_type const &>>
     [[nodiscard]] std::enable_if_t<is_transparent_v<hasher> && is_transparent_v<key_equal>, std::conditional_t<false, Other, mapped_type const &>>
     at(const Other &key) const {
     at(const Other &key) const {