doc: get around an issue with doxygen

This commit is contained in:
Michele Caini
2020-12-23 17:31:08 +01:00
parent 78a13efc6c
commit ac8bde4ea8

View File

@@ -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();
}