libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
max_min.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jmmcg::LIBJMMCG_VER_NAMESPACE::min< Val, l, r >
 
struct  jmmcg::LIBJMMCG_VER_NAMESPACE::max< Val, l, r >
 

Namespaces

namespace  jmmcg
 Link with -lrt to include these functions.
 
namespace  jmmcg::LIBJMMCG_VER_NAMESPACE
 

Functions

template<class V >
constexpr V jmmcg::LIBJMMCG_VER_NAMESPACE::varadic_max (V v) noexcept(true)
 Work around the fact that there is no parameter-pack version of std::max(...). sigh C++ is great, no? More...
 
template<class V , class... Values>
constexpr V jmmcg::LIBJMMCG_VER_NAMESPACE::varadic_max (V v, Values... values) noexcept(true)
 
template<class V >
constexpr V jmmcg::LIBJMMCG_VER_NAMESPACE::varadic_min (V v) noexcept(true)
 
template<class V , class... Values>
constexpr V jmmcg::LIBJMMCG_VER_NAMESPACE::varadic_min (V v, Values... values) noexcept(true)