Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
max3.hpp File Reference

Template function returns maximum. More...

#include <cstring>
Include dependency graph for max3.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
T const & max (T const &a, T const &b)
 
template<typename T >
T *const & max (T *const &a, T *const &b)
 
int const & max (int const &a, int const &b)
 
char const *const & max (char const *const &a, char const *const &b)
 
template<typename T >
T const & max (T const &a, T const &b, T const &c)
 

Detailed Description

Template function returns maximum.

Author
J. Broeckhove - see copyright.txt

Definition in file max3.hpp.

Function Documentation

template<typename T >
T const& max ( T const &  a,
T const &  b 
)
inline

Definition at line 11 of file max3.hpp.

Referenced by max().

Here is the caller graph for this function:

template<typename T >
T* const& max ( T *const &  a,
T *const &  b 
)
inline

Definition at line 17 of file max3.hpp.

int const& max ( int const &  a,
int const &  b 
)
inline

Definition at line 22 of file max3.hpp.

char const* const& max ( char const *const &  a,
char const *const &  b 
)
inline

Definition at line 25 of file max3.hpp.

template<typename T >
T const& max ( T const &  a,
T const &  b,
T const &  c 
)
inline

Definition at line 28 of file max3.hpp.

References max().

Here is the call graph for this function: