DGtal
1.5.beta
|
Functor that rounds towards zero. More...
#include <DGtal/base/BasicFunctors.h>
Public Member Functions | |
template<typename T > | |
auto | operator() (const T &value) const -> decltype(std::trunc(value)) |
Functor that rounds towards zero.
This specialization deduces the value type at evaluation.
Definition at line 267 of file BasicFunctors.h.
|
inline |
Definition at line 271 of file BasicFunctors.h.