DGtal  1.3.beta
Public Member Functions
DGtal::functors::Ceil< T > Struct Template Reference

Functor that rounds up. More...

#include <DGtal/base/BasicFunctors.h>

Public Member Functions

auto operator() (const T &value) const -> decltype(std::ceil(value))
 

Detailed Description

template<typename T = void>
struct DGtal::functors::Ceil< T >

Functor that rounds up.

Template Parameters
TType to be rounded. If not specified (void), the type is deduced at evaluation.
Examples
tutorial-examples/volDTGranulo.cpp.

Definition at line 217 of file BasicFunctors.h.

Member Function Documentation

◆ operator()()

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

Definition at line 220 of file BasicFunctors.h.

222  {
223  return std::ceil( value );
224  }

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