Classes | Functions
uavcan::are_close_impl_ Namespace Reference

Classes

struct  Applicable
 
struct  HasIsCloseMethod
 
struct  NotApplicable
 

Functions

template<typename L , typename R >
UAVCAN_EXPORT bool areCloseImplFirst (const L &left, const R &right, IntToType< sizeof(Applicable)>)
 First stage: bool L::isClose(R) More...
 
template<typename L , typename R >
UAVCAN_EXPORT bool areCloseImplFirst (const L &left, const R &right, IntToType< sizeof(NotApplicable)>)
 First stage: select either L == R or bool R::isClose(L) More...
 
template<typename L , typename R >
UAVCAN_EXPORT bool areCloseImplSecond (const L &left, const R &right, IntToType< sizeof(Applicable)>)
 Second stage: bool R::isClose(L) More...
 
template<typename L , typename R >
UAVCAN_EXPORT bool areCloseImplSecond (const L &left, const R &right, IntToType< sizeof(NotApplicable)>)
 Second stage: L == R. More...
 

Detailed Description

This namespace contains implementation details for areClose(). Don't try this at home.

Function Documentation

◆ areCloseImplFirst() [1/2]

template<typename L , typename R >
UAVCAN_EXPORT bool uavcan::are_close_impl_::areCloseImplFirst ( const L &  left,
const R &  right,
IntToType< sizeof(Applicable)>   
)
inline

First stage: bool L::isClose(R)

Definition at line 86 of file comparison.hpp.

◆ areCloseImplFirst() [2/2]

template<typename L , typename R >
UAVCAN_EXPORT bool uavcan::are_close_impl_::areCloseImplFirst ( const L &  left,
const R &  right,
IntToType< sizeof(NotApplicable)>   
)
inline

First stage: select either L == R or bool R::isClose(L)

Definition at line 110 of file comparison.hpp.

◆ areCloseImplSecond() [1/2]

template<typename L , typename R >
UAVCAN_EXPORT bool uavcan::are_close_impl_::areCloseImplSecond ( const L &  left,
const R &  right,
IntToType< sizeof(Applicable)>   
)
inline

Second stage: bool R::isClose(L)

Definition at line 94 of file comparison.hpp.

◆ areCloseImplSecond() [2/2]

template<typename L , typename R >
UAVCAN_EXPORT bool uavcan::are_close_impl_::areCloseImplSecond ( const L &  left,
const R &  right,
IntToType< sizeof(NotApplicable)>   
)
inline

Second stage: L == R.

Definition at line 102 of file comparison.hpp.



uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:05