C/C++ Programming
smilodon
这个作者很懒,什么都没留下…
展开
-
throw null 的问题
On the Solaris build of the product it would core dump (crash) whenever there was an syntax error in the XML input files(It crashes on Solaris but not on Windows or Linux). #include int main(原创 2010-01-28 13:59:00 · 1372 阅读 · 0 评论 -
restrict pointer
http://hi.baidu.com/ilotus_y/blog/item/bed71ed3c6d7f532960a16fc.html __restrict / restrict这是从IBM的一个网站上看来的:restrict只可以用在指针身上。如果一个指针被restrict修饰,那么就在它(这个指针)和它所指向的对象之间建立了一种特殊的联系──只能用这个指针或者这个指针的表转载 2010-03-17 16:16:00 · 651 阅读 · 0 评论 -
__buildin_expect 含义 抄
__builtin_expectPurpose Indicates that an expression is likely to evaluate to a specified value. The compiler may use this knowledge to direct optimizations. Prototype long __builtin_e转载 2010-03-17 15:17:00 · 708 阅读 · 0 评论