]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/math/test/test_standalone_asserts.cpp
25b875bdd07b6da06cfbcacef21bed8d7992afc0
1 // (C) Copyright Matt Borland 2021.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef BOOST_MATH_STANDALONE
7 #define BOOST_MATH_STANDALONE
10 #include <boost/math/tools/assert.hpp>
14 constexpr unsigned two
= 2;
16 BOOST_MATH_ASSERT(two
== 2);
17 BOOST_MATH_ASSERT_MSG(two
== 2, "Fails");
19 BOOST_MATH_STATIC_ASSERT(two
== 2);
20 BOOST_MATH_STATIC_ASSERT_MSG(two
== 2, "Fails");