#引言 防守可以单写一篇来介绍,所以本篇只谈进攻。进攻与奖杯,奖杯与天梯又密切关联,所以本篇将会一起介绍。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Native TrySZSort | |
FCIMPL4(INT32, ArrayHelper::TrySZSort, ArrayBase * keys, ArrayBase * items, UINT32 left, UINT32 right) | |
//in an array is not single-dimensional with initial index, null is not sorted | |
if (keys->GetRank() != 1 || keys->GetLowerBoundsPtr()[0] != 0) | |
return FALSE; | |
// Getting array element type | |
TypeHandle keysTH = keys->GetElementTypeHandle(); | |
// If it is not an in-built primitive type |