VCCC  2024.05
VisualCamp Common C++ library
float_equal_to< void > Struct Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__numeric/float_equal.hpp>

Detailed Description

float_equal_to<void>

See also
float_equal_to: function object implementing approximately equal of x and y
float_equal: Compare if two floating-points are approximately equal.

Public Member Functions

template<typename T , typename U , typename E = std::common_type_t<T, U>>
constexpr auto operator() (const T &a, const U &b, const E &e=vccc::epsilon< E >()) const -> decltype(std::declval< float_equal_to< std::common_type_t< T, U, E >> & >()(std::declval< const T & >(), std::declval< const U & >(), std::declval< const E & >()))
 

Member Function Documentation

◆ operator()()

constexpr auto operator() ( const T &  a,
const U &  b,
const E &  e = vccc::epsilon<E>() 
) const -> decltype(std::declval<float_equal_to<std::common_type_t<T, U, E>>&>()(std::declval<const T&>(), std::declval<const U&>(), std::declval<const E&>()))
inlineconstexpr

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