12#ifndef tutorial_ids_declared
13#define tutorial_ids_declared
33 constexpr bool is_null()
const {
return id.is_null();}
35 constexpr auto get_id()
const {
return to_underlying(
id);}
56 constexpr bool is_null()
const {
return id.is_null();}
58 constexpr auto get_id()
const {
return to_underlying(
id);}
79 return hash<joedb::index_t>{}(x.get_id());
87 return hash<joedb::index_t>{}(x.get_id());
Strongly-typed wrapper around an integer representing a row of the city table.
constexpr bool is_not_null() const
constexpr bool operator<(id_of_city x) const
constexpr id_of_city operator[](size_t i) const
constexpr bool operator>=(id_of_city x) const
constexpr auto get_id() const
constexpr id_of_city(Record_Id id)
constexpr bool is_null() const
constexpr bool operator!=(id_of_city x) const
constexpr id_of_city(joedb::index_t id)
constexpr Record_Id get_record_id() const
constexpr bool operator==(id_of_city x) const
constexpr bool operator>(id_of_city x) const
constexpr bool operator<=(id_of_city x) const
Strongly-typed wrapper around an integer representing a row of the person table.
constexpr bool operator>=(id_of_person x) const
constexpr id_of_person operator[](size_t i) const
constexpr Record_Id get_record_id() const
constexpr bool is_null() const
constexpr bool operator!=(id_of_person x) const
constexpr bool operator<(id_of_person x) const
constexpr bool operator<=(id_of_person x) const
constexpr id_of_person(joedb::index_t id)
constexpr id_of_person(Record_Id id)
constexpr bool operator==(id_of_person x) const
constexpr auto get_id() const
constexpr bool is_not_null() const
constexpr bool operator>(id_of_person x) const
Automatically generated by joedbc.
size_t operator()(tutorial::id_of_city x) const noexcept
size_t operator()(tutorial::id_of_person x) const noexcept