DGtal 1.3.0
Loading...
Searching...
No Matches
Public Member Functions
DGtal::functors::Floor< void > Struct Reference

Functor that rounds down. More...

#include <DGtal/base/BasicFunctors.h>

Public Member Functions

template<typename T >
auto operator() (const T &value) const -> decltype(std::floor(value))
 

Detailed Description

Functor that rounds down.

This specialization deduces the value type at evaluation.

See also
Floor

Definition at line 201 of file BasicFunctors.h.

Member Function Documentation

◆ operator()()

template<typename T >
auto DGtal::functors::Floor< void >::operator() ( const T &  value) const -> decltype(std::floor(value))
inline

Definition at line 205 of file BasicFunctors.h.

207 {
208 return std::floor( value );
209 }

The documentation for this struct was generated from the following file: