Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Friends
Macros
Pages
include
paal
utils
assign_updates.hpp
Go to the documentation of this file.
1
8
#ifndef PAAL_ASSIGN_UPDATES_HPP
9
#define PAAL_ASSIGN_UPDATES_HPP
10
11
#include <algorithm>
12
13
namespace
paal {
14
17
template
<
typename
T>
18
void
assign_max
(T & t,
const
T & u) {
19
t = std::max(t, u);
20
}
21
24
template
<
typename
T>
25
void
assign_min
(T & t,
const
T & u) {
26
t = std::min(t, u);
27
}
28
29
30
}
// ! paal
31
32
#endif // PAAL_ASSIGN_UPDATES_HPP
paal::assign_max
void assign_max(T &t, const T &u)
Definition:
assign_updates.hpp:18
paal::assign_min
void assign_min(T &t, const T &u)
Definition:
assign_updates.hpp:25
Generated on Tue Jan 31 2017 00:30:51 by
1.8.5