libpqxx
The C++ client library for PostgreSQL
row_ref-row.hxx
Go to the documentation of this file.
2 
3 namespace pqxx::internal::gate
4 {
5 class PQXX_PRIVATE row_ref_row final : callgate<row_ref>
6 {
7  friend class pqxx::row;
8 
9  constexpr row_ref_row(reference x) noexcept : super(x) {}
10 
11  template<typename Tuple, std::size_t... indexes>
12  void
13  extract_fields(Tuple &t, std::index_sequence<indexes...> seq, ctx c) const
14  {
15  return home().extract_fields<Tuple, indexes...>(t, seq, c);
16  }
17 };
18 } // namespace pqxx::internal::gate
Base class for call gates.
Definition: callgate.hxx:55
Definition: row_ref-row.hxx:6
Lightweight reference to one row in a result.
Definition: row.hxx:57
Reference to one row in a result.
Definition: row.hxx:410
#define PQXX_PRIVATE
Definition: header-pre.hxx:206
Definition: connection.hxx:94
conversion_context const & ctx
Convenience alias: const reference to a pqxx::conversion_context.
Definition: strconv.hxx:196