From ac8bde4ea815288acc5d611a5a91b49262c613f2 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 23 Dec 2020 17:31:08 +0100 Subject: [PATCH] doc: get around an issue with doxygen --- src/entt/meta/container.hpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/entt/meta/container.hpp b/src/entt/meta/container.hpp index 9477c43ab..ec09becb0 100644 --- a/src/entt/meta/container.hpp +++ b/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(); }