bytestring.hpp 711 B

123456789101112131415161718192021222324252627
  1. //
  2. // Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. #ifndef BOOST_MYSQL_DETAIL_AUXILIAR_BYTESTRING_HPP
  8. #define BOOST_MYSQL_DETAIL_AUXILIAR_BYTESTRING_HPP
  9. #include <cstdint>
  10. #include <vector>
  11. namespace boost {
  12. namespace mysql {
  13. namespace detail {
  14. template <class Allocator>
  15. using basic_bytestring = std::vector<std::uint8_t, Allocator>;
  16. using bytestring = std::vector<std::uint8_t>;
  17. } // namespace detail
  18. } // namespace mysql
  19. } // namespace boost
  20. #endif /* INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_BYTESTRING_HPP_ */