results.hpp 643 B

12345678910111213141516171819202122
  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_IMPL_RESULTS_HPP
  8. #define BOOST_MYSQL_IMPL_RESULTS_HPP
  9. #include <boost/mysql/detail/auxiliar/access_fwd.hpp>
  10. #pragma once
  11. #include <boost/mysql/results.hpp>
  12. struct boost::mysql::detail::results_access
  13. {
  14. static execution_state& get_state(results& result) noexcept { return result.st_; }
  15. static rows& get_rows(results& result) noexcept { return result.rows_; }
  16. };
  17. #endif