Comparing tuples of unequal lengths results in a compile-time error.
比较不同长度的元组会产生编译时错误。
Listing 2 shows a piece of code that results in a compile-time error because the copy constructor is private.
清单2显示了产生编译时错误的代码部分,因为该拷贝构造函数是私有的。
You will have a compile-time error something like: "The nested type Person cannot hide an enclosing type".
否则将会导致一个编译时间错误,如 “该嵌套类型 Person 无法隐藏封闭类型”。
应用推荐