DGtal 1.3.0
|
Functor that rounds to the nearest integer. More...
#include <DGtal/base/BasicFunctors.h>
Public Member Functions | |
auto | operator() (const T &value) const -> decltype(std::round(value)) |
Functor that rounds to the nearest integer.
T | Type to be rounded. If not specified (void), the type is deduced at evaluation. |
Definition at line 151 of file BasicFunctors.h.
|
inline |
Definition at line 154 of file BasicFunctors.h.