Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Docs/Doxybook: Add examples of \param and \tparam to the Doxybook…
Browse files Browse the repository at this point in the history
… rendering

test.
  • Loading branch information
brycelelbach committed Feb 25, 2022
1 parent 62a4b23 commit 583ab49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions testing/docs/doxybook_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ void test_predefined_friend_function();
*
* It does many things.
*
* \tparam T A template parameter.
* \tparam U Another template parameter.
*
* \see test_function
*/
template <typename T, typename U>
Expand Down Expand Up @@ -141,6 +144,11 @@ class test_derived_class : test_class<int, double>

/*! \brief \c test_function is a function intended to exercise and test Doxybook
* rendering.
*
* \tparam T A template parameter.
*
* \param a A function parameter.
* \param b A function parameter.
*/
template <typename T>
void test_function(T const& a, test_class<T, T const>&& b);
Expand Down

0 comments on commit 583ab49

Please sign in to comment.