Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:33:42

0001 #ifndef BOOST_HASH2_DETAIL_CONFIG_HPP_INCLUDED
0002 #define BOOST_HASH2_DETAIL_CONFIG_HPP_INCLUDED
0003 
0004 // Copyright 2024 Peter Dimov
0005 // Distributed under the Boost Software License, Version 1.0.
0006 // https://www.boost.org/LICENSE_1_0.txt
0007 
0008 #include <boost/config.hpp>
0009 
0010 // __builtin_is_constant_evaluated
0011 
0012 #if defined(BOOST_MSVC) && BOOST_MSVC >= 1925
0013 # define BOOST_HASH2_HAS_BUILTIN_IS_CONSTANT_EVALUATED
0014 #endif
0015 
0016 #if defined(__has_builtin)
0017 # if __has_builtin(__builtin_is_constant_evaluated)
0018 #  define BOOST_HASH2_HAS_BUILTIN_IS_CONSTANT_EVALUATED
0019 # endif
0020 #endif
0021 
0022 // __builtin_bit_cast
0023 
0024 #if defined(BOOST_MSVC) && BOOST_MSVC >= 1927
0025 # define BOOST_HASH2_HAS_BUILTIN_BIT_CAST
0026 #endif
0027 
0028 #if defined(__has_builtin)
0029 # if __has_builtin(__builtin_bit_cast)
0030 #  define BOOST_HASH2_HAS_BUILTIN_BIT_CAST
0031 # endif
0032 #endif
0033 
0034 #endif // #ifndef BOOST_HASH2_DETAIL_CONFIG_HPP_INCLUDED