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
16 #ifndef BOOST_CONFIG_HPP
17 # include <boost/config.hpp>
20 #if defined(BOOST_HAS_PRAGMA_ONCE)
24 #if !defined(BOOST_INTRUSIVE_INVARIANT_ASSERT)
25 #include <boost/assert.hpp>
26 #define BOOST_INTRUSIVE_INVARIANT_ASSERT BOOST_ASSERT
27 #elif defined(BOOST_INTRUSIVE_INVARIANT_ASSERT_INCLUDE)
28 #include BOOST_INTRUSIVE_INVARIANT_ASSERT_INCLUDE
31 #if !defined(BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT)
32 #include <boost/assert.hpp>
33 #define BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT BOOST_ASSERT
34 #elif defined(BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT_INCLUDE)
35 #include BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT_INCLUDE
38 #if !defined(BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT)
39 #include <boost/assert.hpp>
40 #define BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT BOOST_ASSERT
41 #elif defined(BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT_INCLUDE)
42 #include BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT_INCLUDE
45 #endif //BOOST_INTRUSIVE_DETAIL_ASSERT_HPP