File indexing completed on 2025-01-18 09:30:40
0001 #ifndef BOOST_DESCRIBE_DETAIL_CX_STREQ_HPP_INCLUDED
0002 #define BOOST_DESCRIBE_DETAIL_CX_STREQ_HPP_INCLUDED
0003
0004
0005
0006
0007
0008 #include <boost/describe/detail/config.hpp>
0009
0010 #if defined(BOOST_DESCRIBE_CXX11)
0011
0012 namespace boost
0013 {
0014 namespace describe
0015 {
0016 namespace detail
0017 {
0018
0019 constexpr bool cx_streq( char const * s1, char const * s2 )
0020 {
0021 return s1[0] == s2[0] && ( s1[0] == 0 || cx_streq( s1 + 1, s2 + 1 ) );
0022 }
0023
0024 }
0025 }
0026 }
0027
0028 #endif
0029
0030 #endif