We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638ba1e commit 64fd4dbCopy full SHA for 64fd4db
weilycoder/ds/group.hpp
@@ -1,6 +1,7 @@
1
#ifndef WEILYCODER_GROUP_HPP
2
#define WEILYCODER_GROUP_HPP
3
4
+namespace weilycoder {
5
/**
6
* @brief Additive Group
7
* @tparam T Type of the elements
@@ -11,5 +12,6 @@ template <typename T> struct AddGroup {
11
12
static constexpr T identity() { return T{}; }
13
static constexpr T inverse(const T &a) { return -a; }
14
};
15
+} // namespace weilycoder
16
17
#endif
0 commit comments