Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/geometry/index/detail/assert.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 // Boost.Geometry Index | |
2 // | |
3 // Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland. | |
4 // | |
5 // Use, modification and distribution is subject to the Boost Software License, | |
6 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
7 // http://www.boost.org/LICENSE_1_0.txt) | |
8 | |
9 #ifndef BOOST_GEOMETRY_INDEX_DETAIL_ASSERT_HPP | |
10 #define BOOST_GEOMETRY_INDEX_DETAIL_ASSERT_HPP | |
11 | |
12 #include <boost/assert.hpp> | |
13 | |
14 #define BOOST_GEOMETRY_INDEX_ASSERT(CONDITION, TEXT_MSG) \ | |
15 BOOST_ASSERT_MSG(CONDITION, TEXT_MSG) | |
16 | |
17 // TODO - change it to something like: | |
18 // BOOST_ASSERT((CONDITION) && (TEXT_MSG)) | |
19 | |
20 #if defined(BOOST_DISABLE_ASSERTS) || defined(NDEBUG) | |
21 | |
22 #define BOOST_GEOMETRY_INDEX_ASSERT_UNUSED_PARAM(PARAM) | |
23 | |
24 #else | |
25 | |
26 #define BOOST_GEOMETRY_INDEX_ASSERT_UNUSED_PARAM(PARAM) PARAM | |
27 | |
28 #endif | |
29 | |
30 #endif // BOOST_GEOMETRY_INDEX_DETAIL_ASSERT_HPP |