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