Gobelijn API documentation
- generated for commit a0cbea7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
max2.hpp
Go to the documentation of this file.
1
#pragma once
2
8
template
<
typename
T>
9
inline
T
const
&
max
(T
const
& a, T
const
& b)
10
{
11
return
a < b ? b : a;
12
}
13
14
inline
int
const
&
max
(
int
const
& a,
int
const
& b) {
return
a < b ? b : a; }
15
16
template
<
typename
T>
17
inline
T
const
&
max
(T
const
& a, T
const
& b, T
const
& c)
18
{
19
return
max
(
max
(a, b), c);
20
}
max
T const & max(T const &a, T const &b)
Definition:
max2.hpp:9
main
cpp
template_basics
max2.hpp
Generated on Fri Feb 1 2019 09:33:32 for Gobelijn API documentation by
1.8.6