Participants were told that all the statements that were true would be displayed in green type, while the false statement would be in red.
受试者被告知真实的描述是用绿色来显示的,而假的描述是用红色。
So now you've got to use the type detailed in Listing 5, and notate every possible permutation of the words "true" and "false" in relation to capitalization.
现在就需要使用清单5中详细定义的类型,还要注意“true”和“false”这两个词因为大小写带来的变化。
The type Boolean has a domain consisting of only two values: true and false.
boolean类型的域只包含了两个值:true和false。
One of the biggest surprises for programmers coming from other languages is that, in Lua, only false and nil are considered false; any object of a non-boolean type is always considered true in tests.
对于习惯使用其他语言的程序员来说,Lua最令人惊讶的地方是,只有false和nil 被看作 false;任何非boolean类型的对象总是被看作true。
So in Listing 11, the specialized version for arrays would be derived from true-type, while the generic version would come from false-type.
所以在清单11 中,针对数组的特殊化版本将派生自 true-type,而泛型版本将派生自 false-type。
Type traits templates are derived from either a true-type or false-type.
类型特征模板派生自一个true - type或false - type。
Type traits templates are derived from either a true-type or false-type.
类型特征模板派生自一个true - type或false - type。
应用推荐