直到目前为止,修改对象属性时需要费一些特别的心思,例如使用左值子程序,你就可以直接操作子程序返回的标量。
Until now, special care had to be taken to allow modification of object attributes, for example. With lvalue subroutines, you can directly affect scalars returned by subroutines.
如果无法保存子程序名,则检查DIE是否可用,并重新执行相关操作。
If you cannot store the subprogram name then start over by checking if DIE is available.
因为Ada 2005中这样的接口只允许有抽象的子程序以及null程序作为操作。
As such interfaces in Ada 2005 are only permitted to have abstract subprograms and null procedures as operations.
应用推荐