Remove Activ libs and includes
This commit is contained in:
1 parent
28ed30c944
commit
4b718994be
10967 files changed
-2306716
No files matched your search
@@ -1,34 +0,0 @@
|
||||
// (C) Copyright Matt Borland 2021.
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// We deliberately use assert in here:
|
||||
//
|
||||
// boost-no-inspect
|
||||
|
||||
#ifndef ACTIV_BOOST_MATH_TOOLS_ASSERT_HPP
|
||||
#define ACTIV_BOOST_MATH_TOOLS_ASSERT_HPP
|
||||
|
||||
#include <ActivBoost/math/tools/is_standalone.hpp>
|
||||
|
||||
#ifndef ACTIV_BOOST_MATH_STANDALONE
|
||||
|
||||
#include <ActivBoost/assert.hpp>
|
||||
#include <ActivBoost/static_assert.hpp>
|
||||
#define ACTIV_BOOST_MATH_ASSERT(expr) ACTIV_BOOST_ASSERT(expr)
|
||||
#define ACTIV_BOOST_MATH_ASSERT_MSG(expr, msg) ACTIV_BOOST_ASSERT_MSG(expr, msg)
|
||||
#define ACTIV_BOOST_MATH_STATIC_ASSERT(expr) ACTIV_BOOST_STATIC_ASSERT(expr)
|
||||
#define ACTIV_BOOST_MATH_STATIC_ASSERT_MSG(expr, msg) ACTIV_BOOST_STATIC_ASSERT_MSG(expr, msg)
|
||||
|
||||
#else // Standalone mode - use cassert
|
||||
|
||||
#include <cassert>
|
||||
#define ACTIV_BOOST_MATH_ASSERT(expr) assert(expr)
|
||||
#define ACTIV_BOOST_MATH_ASSERT_MSG(expr, msg) assert((expr)&&(msg))
|
||||
#define ACTIV_BOOST_MATH_STATIC_ASSERT(expr) static_assert(expr, #expr " failed")
|
||||
#define ACTIV_BOOST_MATH_STATIC_ASSERT_MSG(expr, msg) static_assert(expr, msg)
|
||||
|
||||
#endif
|
||||
|
||||
#endif // ACTIV_BOOST_MATH_TOOLS_ASSERT_HPP
|
||||
Reference in new issue
Block a user