18#ifndef _LOG4CXX_HELPERS_STRICTMATH_H
19#define _LOG4CXX_HELPERS_STRICTMATH_H
21#include <log4cxx/log4cxx.h>
34 template<
typename _type>
static inline const _type&
37 return (
a <
b) ?
a :
b;
40 template<
typename _type>
static inline const _type&
43 return (
a >
b) ?
a :
b;
The class StrictMath contains methods for performing basic numeric operations.
Definition strictmath.h:32
static const _type & minimum(const _type &a, const _type &b)
Definition strictmath.h:35
static const _type & maximum(const _type &a, const _type &b)
Definition strictmath.h:41
Definition configuration.h:25
std::shared_ptr< Ret > cast(const std::shared_ptr< Type > &incoming)
Attempt to cast one Object to another kind of Object.
Definition object.h:126