Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::test_tools::close_at_tolerance< FPT > Class Template Reference

#include <floating_point_comparison.hpp>

Collaboration diagram for boost::test_tools::close_at_tolerance< FPT >:

Public Types

typedef bool result_type
 

Public Member Functions

template<typename ToleranceBaseType >
 close_at_tolerance (percent_tolerance_t< ToleranceBaseType > tolerance, floating_point_comparison_type fpc_type=FPC_STRONG)
 
template<typename ToleranceBaseType >
 close_at_tolerance (fraction_tolerance_t< ToleranceBaseType > tolerance, floating_point_comparison_type fpc_type=FPC_STRONG)
 
predicate_result operator() (FPT left, FPT right) const
 

Public Attributes

readonly_property< FPT > p_fraction_tolerance
 
readonly_property< bool > p_strong_or_weak
 

Member Typedef Documentation

template<typename FPT>
typedef bool boost::test_tools::close_at_tolerance< FPT >::result_type

Constructor & Destructor Documentation

template<typename FPT>
template<typename ToleranceBaseType >
boost::test_tools::close_at_tolerance< FPT >::close_at_tolerance ( percent_tolerance_t< ToleranceBaseType >  tolerance,
floating_point_comparison_type  fpc_type = FPC_STRONG 
)
inlineexplicit
template<typename FPT>
template<typename ToleranceBaseType >
boost::test_tools::close_at_tolerance< FPT >::close_at_tolerance ( fraction_tolerance_t< ToleranceBaseType >  tolerance,
floating_point_comparison_type  fpc_type = FPC_STRONG 
)
inlineexplicit

Member Function Documentation

Member Data Documentation

template<typename FPT>
readonly_property<FPT> boost::test_tools::close_at_tolerance< FPT >::p_fraction_tolerance
template<typename FPT>
readonly_property<bool> boost::test_tools::close_at_tolerance< FPT >::p_strong_or_weak

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