Conform C++ types that have a std::hash
overload to Swift.Hashable
#62045
Labels
c++ interop
Feature: Interoperability with C++
compiler
The Swift compiler in itself
feature
A feature request or implementation
We could consider synthesizing a
Hashable
conformance for some C++ types:Note that
Swift.Hashable
inherits fromSwift.Equatable
, so we'd have to conform these types toSwift.Equatable
as well.The text was updated successfully, but these errors were encountered: