Why arc4random function doesnt accept my Protocol?

前端 未结 0 644
情话喂你
情话喂你 2021-01-02 21:00

Printable is protocol and There are two functions f and g

func f(p: Printable) {
    println(p)
}
 
func g(t: T) {
    println(t)
}


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题