summaryrefslogtreecommitdiff
path: root/code/core/max.h
blob: 490b33874cfb77474ceee49ae1a147c50c55c63b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef MAX_H
#define MAX_H

template<class L, class R>
inline L max(L l, R r) {
  if (l > r) {
    return l;
  }else{
    return r;
  }
}

#endif // MAX_H
contact: Jan Huwald // Impressum