Skip to content

Commit 3ef3574

Browse files
committed
docs: Enhance documentation for AddGroup with detailed brief and type parameter description
1 parent b27ef3b commit 3ef3574

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

weilycoder/ds/group.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#ifndef WEILYCODER_GROUP_HPP
22
#define WEILYCODER_GROUP_HPP
33

4+
/**
5+
* @brief Additive Group
6+
* @tparam T Type of the elements
7+
*/
48
template <typename T> struct AddGroup {
59
using value_type = T;
610
static constexpr T operation(const T &a, const T &b) { return a + b; }

0 commit comments

Comments
 (0)