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