Program Listing for File IRIBackendView.hpp¶
↰ Return to documentation for file (src/rdf4cpp/storage/view/IRIBackendView.hpp)
#ifndef RDF4CPP_IRIBACKENDHANDLE_HPP
#define RDF4CPP_IRIBACKENDHANDLE_HPP
#include <string>
#include <string_view>
namespace rdf4cpp::storage::view {
struct IRIBackendView {
std::string_view identifier;
auto operator<=>(IRIBackendView const &) const noexcept = default;
[[nodiscard]] size_t hash() const noexcept;
};
} // namespace rdf4cpp::storage::view
template<>
struct std::hash<rdf4cpp::storage::view::IRIBackendView> {
size_t operator()(rdf4cpp::storage::view::IRIBackendView const &x) const noexcept;
};
#endif //RDF4CPP_IRIBACKENDHANDLE_HPP