Руслан Урядинский / libuavcan

Dependents:   UAVCAN UAVCAN_Subscriber

Embed: (wiki syntax)

« Back to documentation index

uavcan::are_close_impl_ Namespace Reference

uavcan::are_close_impl_ Namespace Reference

This namespace contains implementation details for areClose(). More...

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)
template<typename L , typename R >
UAVCAN_EXPORT bool areCloseImplSecond (const L &left, const R &right, IntToType< sizeof(Applicable)>)
 Second stage: bool R::isClose(L)
template<typename L , typename R >
UAVCAN_EXPORT bool areCloseImplSecond (const L &left, const R &right, IntToType< sizeof(NotApplicable)>)
 Second stage: L == R.
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)

Detailed Description

This namespace contains implementation details for areClose().

Don't try this at home.


Function Documentation

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

First stage: bool L::isClose(R)

Definition at line 86 of file comparison.hpp.

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

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

Definition at line 110 of file comparison.hpp.

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

Second stage: L == R.

Definition at line 102 of file comparison.hpp.

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

Second stage: bool R::isClose(L)

Definition at line 94 of file comparison.hpp.