Browse Source

doc: dense map

skypjack 7 months ago
parent
commit
15b8db6f61
1 changed files with 6 additions and 1 deletions
  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;
     }
 
-    /*! @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>
     [[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 {