Chris@16: // Boost.Geometry Index Chris@16: // Chris@16: // Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland. Chris@16: // Chris@16: // Use, modification and distribution is subject to the Boost Software License, Chris@16: // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #ifndef BOOST_GEOMETRY_INDEX_DETAIL_ASSERT_HPP Chris@16: #define BOOST_GEOMETRY_INDEX_DETAIL_ASSERT_HPP Chris@16: Chris@16: #include Chris@16: Chris@16: #define BOOST_GEOMETRY_INDEX_ASSERT(CONDITION, TEXT_MSG) \ Chris@16: BOOST_ASSERT_MSG(CONDITION, TEXT_MSG) Chris@16: Chris@16: // TODO - change it to something like: Chris@16: // BOOST_ASSERT((CONDITION) && (TEXT_MSG)) Chris@16: Chris@16: #if defined(BOOST_DISABLE_ASSERTS) || defined(NDEBUG) Chris@16: Chris@16: #define BOOST_GEOMETRY_INDEX_ASSERT_UNUSED_PARAM(PARAM) Chris@16: Chris@16: #else Chris@16: Chris@16: #define BOOST_GEOMETRY_INDEX_ASSERT_UNUSED_PARAM(PARAM) PARAM Chris@16: Chris@16: #endif Chris@16: Chris@16: #endif // BOOST_GEOMETRY_INDEX_DETAIL_ASSERT_HPP