Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / intrusive / detail / assert.hpp
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 #if defined(_MSC_VER)
17 #pragma once
18 #endif
19
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
25 #endif
26
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
32 #endif
33
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
39 #endif
40
41 #endif //BOOST_INTRUSIVE_DETAIL_ASSERT_HPP