Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:40:27

0001 // Copyright (C) 2020 T. Zachary Laine
0002 //
0003 // Distributed under the Boost Software License, Version 1.0. (See
0004 // accompanying file LICENSE_1_0.txt or copy at
0005 // http://www.boost.org/LICENSE_1_0.txt)
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