1 ///////////////////////////////////////////////////////////////////////////// 2 // 3 // (C) Copyright Ion Gaztanaga 2006-2013 4 // 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) 8 // 9 // See http://www.boost.org/libs/intrusive for documentation. 10 // 11 ///////////////////////////////////////////////////////////////////////////// 12 13 #ifndef BOOST_INTRUSIVE_DETAIL_ASSERT_HPP 14 #define BOOST_INTRUSIVE_DETAIL_ASSERT_HPP 15 16 #ifndef BOOST_CONFIG_HPP 17 # include <boost/config.hpp> 18 #endif 19 20 #if defined(BOOST_HAS_PRAGMA_ONCE) 21 #pragma once 22 #endif 23 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 29 #endif 30 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 36 #endif 37 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 43 #endif 44 45 #endif //BOOST_INTRUSIVE_DETAIL_ASSERT_HPP 46