Skip to content

Commit

Permalink
Remove Integral and Averageable from stats.hh
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashmahar committed Feb 28, 2024
1 parent 8a81eaa commit 31026fc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/nvsl/stats.hh
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ namespace nvsl {
constexpr bool periodic_stat_dump = false;
#endif

template <class T>
concept Integral = std::is_integral<T>::value;

template <typename T, typename I>
concept Averageable = Integral<I> && requires(T a, T b, I c) { (a + b) / c; };

/** @brief Class to track all the stats in a process */
class StatsBase;
class StatsCollection {
Expand Down

0 comments on commit 31026fc

Please # to comment.