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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Header <boost/test/tools/detail/tolerance_manip.hpp>

Floating point comparison tolerance manipulators.

This file defines several manipulators for floating point comparison. These manipulators are intended to be used with BOOST_TEST.

namespace boost {
  namespace test_tools {
    template<typename FPT> unspecified tolerance(FPT);
    template<typename FPT> 
      unspecified tolerance(fpc::percent_tolerance_t< FPT > v);
    unspecified tolerance();
  }
}

PrevUpHomeNext