Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
accumtraits3.hpp
Go to the documentation of this file.
1 #pragma once
2 
8 template <typename T>
10 
11 template <>
12 class AccumulationTraits<char>
13 {
14 public:
15  using type = int;
16  static const type value = 0;
17 };
18 
19 template <>
20 class AccumulationTraits<short>
21 {
22 public:
23  using type = int;
24  static const type value = 0;
25 };
26 
27 template <>
28 class AccumulationTraits<int>
29 {
30 public:
31  using type = long;
32  static constexpr type value = 0;
33 };