소스 검색

doc: get around an issue with doxygen

Michele Caini 5 년 전
부모
커밋
ac8bde4ea8
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      src/entt/meta/container.hpp

+ 10 - 2
src/entt/meta/container.hpp

@@ -60,7 +60,11 @@ struct basic_container {
         return cont.begin();
     }
 
-    /*! @copydoc begin */
+    /**
+     * @brief Returns an iterator to the first element of the given container.
+     * @param cont The container for which to return the iterator.
+     * @return An iterator to the first element of the given container.
+     */
     [[nodiscard]] static const_iterator cbegin(const Container &cont) {
         return cont.begin();
     }
@@ -74,7 +78,11 @@ struct basic_container {
         return cont.end();
     }
 
-    /*! @copydoc end */
+    /**
+     * @brief Returns an iterator past the last element of the given container.
+     * @param cont The container for which to return the iterator.
+     * @return An iterator past the last element of the given container.
+     */
     [[nodiscard]] static const_iterator cend(const Container &cont) {
         return cont.end();
     }