A simple value container that provides the maximum of assigned values.
More...
#include <utility.hpp>
|
T | value |
| The maximum of the assigned values.
|
|
template<typename T>
class utility::Max< T >
A simple value container that provides the maximum of assigned values.
- Template Parameters
-
◆ Max()
Construct from an initial value.
- Parameters
-
◆ operator T const &()
Returns the current maximum.
- Returns
- The maximum by const reference
◆ operator=()
Assign a new value, if it is greater than the current value.
- Parameters
-
- Returns
- A self reference
The documentation for this class was generated from the following file: