The compiler provides a built-in function, which is evaluated at compile time, to determine the length of an array (e.g. len (a)).
编译器提供了内建的功能在编译时求得一个数组的长度(如len (a))。
The compiler doesn't know what type V really represents, so it cannot instantiate an array of V.
编译器不知道V到底表示什么类型,因此不能实例化V数组。
Listing 2. Faking out the compiler with a final reference to a one-element array.
清单2 .使用对一元素数组的最终引用欺骗编译器。
应用推荐