result-row.hxx 358 B

12345678910111213141516171819202122
  1. #include <pqxx/internal/callgate.hxx>
  2. namespace pqxx
  3. {
  4. namespace internal
  5. {
  6. class row;
  7. namespace gate
  8. {
  9. class PQXX_PRIVATE result_row : callgate<result>
  10. {
  11. friend class pqxx::row;
  12. result_row(reference x) : super(x) {}
  13. operator bool()
  14. { return bool(home()); }
  15. };
  16. } // namespace pqxx::internal::gate
  17. } // namespace pqxx::internal
  18. } // namespace pqxx