Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 编程语言 > C/C++ > 14.5.10 The new operator
【标  题】:14.5.10 The new operator
【关键字】:14.5.10,The,new,operator
【来  源】:http://blog.csdn.net/masterall/archive/2006/02/20/603141.aspx

14.5.10 The new operator

Your Ad Here The new operator is used to create new instances of types.
There are three forms of new expressions:
?Object creation expressions are used to create new instances of class
types and value types.
?Array creation expressions are used to create new instances of array types.
?Delegate creation expressions are used to create new instances of delegate
types.
The new operator implies creation of an instance of a type, but does not
necessarily imply dynamic
allocation of memory. In particular, instances of value types require no
additional memory beyond the
variables in which they reside, and no dynamic allocations occur when new
is used to create instances of
value types.
14.5.9 Postfix in- & decrement operators:【上一篇】
14.5.5 Invocation expressions:【下一篇】
【相关文章】
  • 14.5.9 Postfix in- & decrement operators
  • 14.5.10.2 Array creation expressions
  • 14.5.10.1 Object creation expressions
  • 14.5.11 The typeof operator
  • 14.5.10.3 Delegate creation expressions
  • 14.5.12 The checked & unchecked operators
  • Java Web Application开发日志之二--“Ignore how they were created”,工厂方法模式应用
  • Java Web Application开发日志之四--“make the method become dynamic”,“洋葱”模式应用
  • 以一个装饰模式来看IBM RSA与Together2006(附UML图)
  • 如何获得 当天 Donews 最热点的blog 列表?
  • 【随机文章】
  • 《仙境传说RO》圣殿十字军经验和想法
  • apache更新
  • SQL SERVER实用经验技巧集 [三]
  • Apache2+Resin2.x集群配置
  • MFC中滚动条的实现
  • 如何备份和恢复Netview数据库(AIX)
  • 一个实用的桌面背景管理器
  • 自定义消息及非模式对话框的创建小记
  • apache用户验证与虚拟主机包括整合tomcat的虚拟主机
  • 更改3寸软盘的图标
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.