Added thirdparty: boost library

This commit is contained in:
Viacheslav Demydiuk
2024-01-06 19:55:56 +02:00
parent bf49f439e1
commit bccd1e7051
15683 changed files with 3239840 additions and 0 deletions
@@ -0,0 +1,36 @@
//
// Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_MYSQL_IMPL_INTERNAL_ERROR_SERVER_ERROR_TO_STRING_HPP
#define BOOST_MYSQL_IMPL_INTERNAL_ERROR_SERVER_ERROR_TO_STRING_HPP
#include <boost/mysql/detail/config.hpp>
namespace boost {
namespace mysql {
namespace detail {
// Returns NULL if this is not a common error (not a member of common_server_errc)
BOOST_MYSQL_DECL
const char* common_error_to_string(int v) noexcept;
// These return a default string if the error is not known
BOOST_MYSQL_DECL
const char* mysql_error_to_string(int v) noexcept;
BOOST_MYSQL_DECL
const char* mariadb_error_to_string(int v) noexcept;
} // namespace detail
} // namespace mysql
} // namespace boost
#ifdef BOOST_MYSQL_HEADER_ONLY
#include <boost/mysql/impl/internal/error/server_error_to_string.ipp>
#endif
#endif
File diff suppressed because it is too large Load Diff