已采納回答 / heiheipingguo
漏了一個關鍵字,應該是這樣:func topPrizable<T: protocol<Record, Prizable>>(list: [T]) -> T?
2016-09-15