Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

min-max-function-overload

C++ implementation of a variadic templated function of max(), min() for integral and floating point types, and strings, by overloading the function call operator.

Requirements

The cmake file compiles with -std=c++14 (but it would be fine also with -std=c++11).

Install and Run Example

$ git clone https://github.com/massimo-marino/min-max-function-overload.git
$ cd min-max-function-overload
$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd src
$ cd unitTests
$ ./unitTests

About

A C++ variadic templated implementation of max(), min() for integral types, floating point types, and strings, by overloading the function call operator

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages