DGtal  1.5.beta
DGtal::functors::Ceil< void > Struct Reference

Functor that rounds up. More...

#include <DGtal/base/BasicFunctors.h>

Public Member Functions

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

Detailed Description

Functor that rounds up.

This specialization deduces the value type at evaluation.

See also
Ceil

Definition at line 234 of file BasicFunctors.h.

Member Function Documentation

◆ operator()()

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

Definition at line 238 of file BasicFunctors.h.

240  {
241  return std::ceil( value );
242  }

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