Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-09 08:28:00

0001 //
0002 // Copyright (c) 2019-2024 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 
0008 #ifndef BOOST_MYSQL_DETAIL_CHARACTER_SET_HPP
0009 #define BOOST_MYSQL_DETAIL_CHARACTER_SET_HPP
0010 
0011 #include <boost/mysql/detail/config.hpp>
0012 
0013 #include <boost/core/span.hpp>
0014 
0015 #include <cstddef>
0016 
0017 namespace boost {
0018 namespace mysql {
0019 namespace detail {
0020 
0021 inline std::size_t next_char_ascii(span<const unsigned char> input) { return input[0] <= 0x7f ? 1 : 0; }
0022 BOOST_MYSQL_DECL std::size_t next_char_utf8mb4(span<const unsigned char> input);
0023 
0024 }  // namespace detail
0025 }  // namespace mysql
0026 }  // namespace boost
0027 
0028 #endif