eddycjy / go-design-book

《Go 语言设计哲学》

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

泛型设计 - 近似元素 表述错误

wrfly opened this issue · comments

commented

https://golang3.eddycjy.com/posts/generics/

泛型设计 - 近似元素 表述错误

image

commented

~int 是说底层元素是 int的类型,int8 int16 int32 int64 不能被 ~int代表