Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
sumpolicy2.hpp
Go to the documentation of this file.
1 #pragma once
2 
8 template <typename T1, typename T2>
9 class SumPolicy
10 {
11 public:
12  static void accumulate(T1& total, const T2& value) { total += value; }
13 };
static void accumulate(T1 &total, const T2 &value)
Definition: sumpolicy2.hpp:12