• Private function can access private variables.

    这说明私有函数访问私有变量

    youdao

  • Why can't this friend function access the private variables?

    为什么这不可以友元函数访问私有变量

    youdao

  • Let's see an example of where some private variables will be useful. Consider this subroutine.

    如下示例展示私有变量在哪里有用。

    youdao

  • Loops and such constructs do not open a new scope, so there is no way to create private variables within them.

    这种循环建构打开一个新的范围所以没有出路创造私人变数

    youdao

  • Instead, I create the class and quickly type the private variables I'll be using in the class, like those in Listing 1.

    相反创建快速类中输入私有变量清单1所

    youdao

  • Tapestry must perform runtime class modifications to support instance variables, and may only do so for private variables.

    Tapestry必须执行运行时修改支持实例变量并且私有变量。

    youdao

  • You may have non-private variables in your class, but you may then see unexpected behavior in a production application because of how Tapestry pools and reuses pages and components.

    可以非私有变量但是这样在你的程序看到不可预料的异常行为,这是因为Tapestry页面组件的缓冲和重用

    youdao

  • This means that every session can use the global variables that exist in the catalogs, but each session has its own private value that it can manipulate and use.

    意味着每个会话可以使用编目保存全局变量但是每个会话拥有自己私有操作使用。

    youdao

  • That is, in C++, objects of the same class cannot see one another's private member variables.

    就是说 C++ 中,同一个对象无法看到彼此私有成员变量

    youdao

  • A nested, or inner, function can inherit the arguments and variables of its outer function, and is private to that function.

    一个嵌套内部函数可以继承外部函数参数变量外部函数私有

    youdao

  • Not only are the variables private but they are private to the particular instance of the Converter class.

    这些变量不仅私有而且只属于converter特定实例

    youdao

  • The first and most important addition was access protection for methods and instance variables on classes -- the public, protected, and private keywords.

    第一也是重要新特性针对方法实例变量访问保护 ——public、protected 和private 关键字。

    youdao

  • In the same vein, assert is also used to test the internal state of a function-such as private member variables, or variables with internal linkage used strictly within the file.

    同理断言被用来测试函数内部状态比如说私有成员变量或者文件内部变量(variableswith inner -linkage usedstrictlywithinthe file .)。

    youdao

  • Sometimes the code is very obviously unreachable (uncalled private methods, unread local variables, and so forth).

    有时候这些代码明显不可达的(未调用私有方法以及未读入本地变量等等)。

    youdao

  • The Book class is then defined, with private member variables for each field.

    然后定义book私有成员变量代表每个字段。

    youdao

  • Using closures designed primarily to private methods and variables.

    使用闭包主要是为了设计私有方法变量

    youdao

  • But the study isolated race as a factor by controlling for variables like academic performance, legacy status, social class, type of high school (public or private) and participation in athletics.

    项研究通过控制学业成绩遗产地位社会阶层高中类型(公立私立)、参与体育运动等变量,将种族作为一个孤立因素

    youdao

  • You should not use your instance constructors, some special private function, or any other idiom to initialize static variables.

    应该使用实例构造函数一些特殊私有方法、任何其它习惯初始化静态变量

    youdao

  • Generally, you should use fields only for variables that have private or protected accessibility.

    通常具有私有受保护可访问性变量使用字段

    youdao

  • Private and protected member variables are shown only in Expert Mode. Properties are not serialized or shown in the inspector.

    私有保护变量只能专家模式显示属性被序列化显示在检视面板

    youdao

  • Can have private components, session variables, etc.

    可以专用组件会话变量

    youdao

  • The best way to protect data in memory is to declare the data as private or internal (with scope limited to the same assembly) variables.

    保护内存中的数据最好方法就是,将数据声明私有内部(范围限定相同程序集内)变量。

    youdao

  • Example 8-6 is a second closure example. It demonstrates that private persistent variables like the one used above can be Shared by more than one function.

    示例8 - 6第二闭包示例。演示了上面那样私有保存的值可以不止个函数访问到。

    youdao

  • Only member variables are serialized and are shown in the inspector. Private and protected member variables are shown only in Expert Mode. Properties are not serialized or shown in the inspector.

    只有序列化成员变量才能显示检视面板,私有保护变量只能专家模式中显示。属性被序列化显示在检视面板。

    youdao

  • The features you use in the definitions of your private classes, in the definitions of private methods on public classes, and in local variables do not have to follow the CLS rules.

    私用类别定义、在公用类别之私用方法定义中,以及区域变数使用功能不用遵循CLS规则

    youdao

  • If it can be declared private then it should be declared that way. That applies to procedures, functions and variables.

    如果私有范围的,请声明为私有,不管是过程函数,还是变量。

    youdao

  • If it can be declared private then it should be declared that way. That applies to procedures, functions and variables.

    如果私有范围的,请声明为私有,不管是过程函数,还是变量。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定