DGtal 1.4.0
|
Functor that rounds to the nearest integer. More...
#include <DGtal/base/BasicFunctors.h>
Public Member Functions | |
template<typename T > | |
auto | operator() (const T &value) const -> decltype(std::round(value)) |
Functor that rounds to the nearest integer.
This specialization deduces the value type at evaluation.
Definition at line 168 of file BasicFunctors.h.
|
inline |
Definition at line 172 of file BasicFunctors.h.