Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于“类型必须支持生成哈希值” #8

Open
nobodxbodon opened this issue Mar 22, 2021 · 1 comment
Open

关于“类型必须支持生成哈希值” #8

nobodxbodon opened this issue Mar 22, 2021 · 1 comment

Comments

@nobodxbodon
Copy link
Contributor

有几处特地这样说明,不知哪些类型不支持生成哈希值呢?

@mikecovlee
Copy link
Member

CovScript生成Hash的逻辑是调用std::hash,对于CovScript内建类型来说就是number string char boolean
但对于C++类型来说,是可以通过重载支持std::hash来从而使得CovScript间接支持的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants