]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/math/test/ntl_concept_check.cpp
1 // Copyright John Maddock 2007-8.
2 // Copyright Paul A. Bristow 2009, 2011
4 // Use, modification and distribution are subject to the
5 // Boost Software License, Version 1.0. (See accompanying file
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 // This tests two things: that boost::math::ntl::RR meets our
10 // conceptual requirements, and that we can instantiate
11 // all our distributions and special functions on this type.
15 # pragma warning (disable : 4100) // unreferenced formal parameter
20 #define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
22 #include <boost/math/bindings/rr.hpp>
23 #include <boost/math/concepts/real_type_concept.hpp>
24 #include "compile_test/instantiate.hpp"
28 instantiate(boost::math::ntl::RR());
33 BOOST_CONCEPT_ASSERT((boost::math::concepts::RealTypeConcept
<boost::math::ntl::RR
>));