Add debug_adaptor.hpp.

Document debug_adaptor and VC++ visualizers.

[SVN r82517]
This commit is contained in:
John Maddock
2013-01-17 12:23:21 +00:00
parent 2b901734b2
commit 8ff620de3b
25 changed files with 1082 additions and 31 deletions

View File

@@ -104,6 +104,9 @@ run test_arithmetic_ab_3.cpp ;
run test_arithmetic_logged_1.cpp ;
run test_arithmetic_logged_2.cpp ;
run test_arithmetic_dbg_adptr1.cpp ;
run test_arithmetic_dbg_adptr2.cpp ;
run test_arithmetic_mpfi_50.cpp mpfi mpfr gmp : : : [ check-target-builds ../config//has_mpfi : : <build>no ] ;
run test_numeric_limits.cpp

View File

@@ -0,0 +1,19 @@
///////////////////////////////////////////////////////////////
// Copyright 2012 John Maddock. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
#ifdef _MSC_VER
# define _SCL_SECURE_NO_WARNINGS
#endif
#include <boost/multiprecision/debug_adaptor.hpp>
#include <boost/multiprecision/cpp_dec_float.hpp>
#include "test_arithmetic.hpp"
int main()
{
test<boost::multiprecision::number<boost::multiprecision::debug_adaptor<boost::multiprecision::cpp_dec_float<50> > > >();
return boost::report_errors();
}

View File

@@ -0,0 +1,19 @@
///////////////////////////////////////////////////////////////
// Copyright 2012 John Maddock. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
#ifdef _MSC_VER
# define _SCL_SECURE_NO_WARNINGS
#endif
#include <boost/multiprecision/debug_adaptor.hpp>
#include <boost/multiprecision/cpp_int.hpp>
#include "test_arithmetic.hpp"
int main()
{
test<boost::multiprecision::number<boost::multiprecision::debug_adaptor<boost::multiprecision::cpp_int_backend<> > > >();
return boost::report_errors();
}