Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 60f3b31a65.
PrevUpHomeNext

Function template tolerance

boost::test_tools::tolerance

Synopsis

// In header: <boost/test/tools/detail/tolerance_manip.hpp>


template<typename FPT> unspecified tolerance(FPT v);

Description

Tolerance manipulator

These functions return a manipulator that can be used in conjunction with BOOST_TEST in order to specify the tolerance with which floating point comparisons are made.


PrevUpHomeNext