aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpqxx/include/pqxx/internal/gates/result-row.hxx
blob: 692d3b5f5b629de44bba0ae9eff50fed7d804e81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <pqxx/internal/callgate.hxx>

namespace pqxx
{
namespace internal
{
class row;

namespace gate
{
class PQXX_PRIVATE result_row : callgate<result>
{
  friend class pqxx::row;

  result_row(reference x) : super(x) {}

  operator bool()
	{ return bool(home()); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx