找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 3104|回复: 2

ACE_TYPENAME 是什么意思啊

[复制链接]
发表于 2008-1-11 11:11:16 | 显示全部楼层 |阅读模式
ACE_TYPENAME 是什么意思啊~(总提出这么简单的问题,都感到不好意思了~;我也在慢慢地成长之中~)
并且再求各位大虾帮帮忙,谁手头有ace的好文档之类的东西,可不可以给我传过来:1616sanlei@163.com
期待中......
 楼主| 发表于 2008-1-11 11:11:28 | 显示全部楼层
Sidebar 19: The C++ typename Keyword and ACE_TYPENAME MacroThe C++ typename keyword tells the compiler that a symbol (such as PEER_ADDR) is a type. This keyword is necessary when the qualifier is a template type argument (such as ACCEPTOR) because the compiler won't have a concrete class to examine until templates are instantiated, which could be much later in the build process. Since typename is a relatively recent addition to C++, ACE provides a portable way to specify it. The ACE_TYPENAME macro expands to the typename keyword on C++ compilers that support it and to nothing on compilers that don't.
发表于 2008-1-24 08:59:48 | 显示全部楼层

回复 #1 peakzhang 的帖子

应该是说明后面紧跟的是一个类型名
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-11-22 14:43 , Processed in 0.014597 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表