1)编译时对象(compile-time object)。在这种情况下,一个对象是程序所定义的类(class)的一个实例,一个类是一个模块的抽象描述,这个模块由一组数据元素和对这些数据...
基于12个网页-相关网页
A dynamic object is assumed at compile time to support any operation, and only at runtime will you get an error if it wasn't so.
在编译时,会假设动态对象支持任何操作,而如果它不支持某个操作,则只有到运行时才能得到错误。
When an exception is thrown, the static, compile-time type of the thrown object determines the type of the exception object.
当抛出一个表达式的时候,被抛出对象的静态编译时类型将决定异常对象的类型。
If there is no default constructor, then there is a compile-time error: the object must be given an explicit initializer.
如果没有默认构造函数,那么将会出现编译时错误:必须要给对象指定显式的初始化式。
应用推荐