1 /////////////////////////////////////////////////////////////////////////////
3 // (C) Copyright Ion Gaztanaga 2006-2013
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 // See http://www.boost.org/libs/intrusive for documentation.
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef BOOST_INTRUSIVE_DETAIL_ASSERT_HPP
14 #define BOOST_INTRUSIVE_DETAIL_ASSERT_HPP
20 #if !defined(BOOST_INTRUSIVE_INVARIANT_ASSERT)
21 #include <boost/assert.hpp>
22 #define BOOST_INTRUSIVE_INVARIANT_ASSERT BOOST_ASSERT
23 #elif defined(BOOST_INTRUSIVE_INVARIANT_ASSERT_INCLUDE)
24 #include BOOST_INTRUSIVE_INVARIANT_ASSERT_INCLUDE
27 #if !defined(BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT)
28 #include <boost/assert.hpp>
29 #define BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT BOOST_ASSERT
30 #elif defined(BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT_INCLUDE)
31 #include BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT_INCLUDE
34 #if !defined(BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT)
35 #include <boost/assert.hpp>
36 #define BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT BOOST_ASSERT
37 #elif defined(BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT_INCLUDE)
38 #include BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT_INCLUDE
41 #endif //BOOST_INTRUSIVE_DETAIL_ASSERT_HPP