荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: Version (Who makes history and why), 信区: Newsoftware
标  题: vc 7.1特性缺陷的说明
发信站: 荔园晨风BBS站 (Tue Apr 22 19:11:18 2003), 站内信件


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/
vclrfnonstandardbehavior.asp

不支持虚基类参与返回值协变 (g++ 3.2.2也没有支持)
* Virtual base classes are not supported as covariant return types.

不支持export (g++ 3.2.2也没有支持)
* The export keyword is not supported on templates.

函数的异常规范,除了throw()以外,虽然会被parse,但是编译器不会处理 (不知道)
* Function exception specifiers other than throw() are parsed but not used.

uncaught_exception总是返回false,即使是应该返回true的地方
* As can be seen in the Visual C++ source file, uncaught.cpp,
  uncaught_exception always returns false even in cases where the standard
  specifies that it should return true.

在模板函数定义之后,实例化之前定义的重载函数,对于模板函数可见 (g++ 3.2.2也有
这个问题)

--
                      *
          *                                  *
                          *             *
                      no more to say
                  ★     just wish you   ★
                            good luck

※ 来源:·荔园晨风BBS站 bbs.szu.edu.cn·[FROM: 192.168.1.50]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店