File indexing completed on 2025-09-17 08:40:27
0001
0002
0003
0004
0005
0006 #ifndef BOOST_PARSER_DETAIL_DEBUG_ASSERT_HPP
0007 #define BOOST_PARSER_DETAIL_DEBUG_ASSERT_HPP
0008
0009 #if __has_include(<boost/assert.hpp>)
0010 #include <boost/assert.hpp>
0011 #define BOOST_PARSER_DEBUG_ASSERT(condition) BOOST_ASSERT(condition)
0012 #define BOOST_PARSER_HAVE_BOOST_ASSERT
0013 #elif defined(BOOST_DISABLE_ASSERTS)
0014 #define BOOST_PARSER_DEBUG_ASSERT(condition) ((void)0)
0015 #else
0016 #include <cassert>
0017 #define BOOST_PARSER_DEBUG_ASSERT(condition) assert(condition)
0018 #endif
0019
0020 #endif