Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
Group_algorithms

Functions

template<typename T >
constexpr const T & SC::min (const T &t1, const T &t2)
 Finds the minimum of two values.
 
template<typename T >
constexpr const T & SC::max (const T &t1, const T &t2)
 Finds the maximum of two values.
 

Detailed Description

Function Documentation

◆ max()

template<typename T >
const T & SC::max ( const T & t1,
const T & t2 )
constexpr

#include <Compiler.h>

Finds the maximum of two values.

◆ min()

template<typename T >
const T & SC::min ( const T & t1,
const T & t2 )
constexpr

#include <Compiler.h>

Finds the minimum of two values.