C++
文章平均质量分 66
prototype
这个作者很懒,什么都没留下…
展开
-
C++ Metaprogramming::Typelist::Definitions and basic implementations
Version 1.00Author: prototypeCopyright (C) 2004 prototypePermission is granted to copy and redistribute this article provided that its contents (including the title, author information, and this c原创 2004-11-27 17:59:00 · 2437 阅读 · 0 评论 -
My "C++ Metaprogramming::..." is infinitely postponed.
Just for making a mark.I will come back when I have time for this.I will work on this blog by putting up some stuff that is less time-consuming. :-)原创 2006-06-02 07:24:00 · 1309 阅读 · 0 评论 -
在高性能计算中慎用C++ std::complex
Copyright (c) prototype, all rights reserved。 在不对原文内容(包括作者信息)做任何改动的前提下,欢迎自由转载。 两年多前写的内部资料。现在自己把它翻成中文,贴到我的blog上来。 近来闲暇时,我用C++和表达式模板(expression template)技术实现了一个复数类(注意:是类,而不是类模板)— Complex。原创 2006-11-13 04:26:00 · 15392 阅读 · 1 评论 -
废弃的C++语言特性 - Deprecated C++ features explained
Copyright (c) prototype, all rights reserved。 在不对原文内容(包括作者信息)做任何改动的前提下,欢迎自由转载。0. 必要说明:所谓“废弃”(deprecated, or obsolescent) 的语言特性是指那些在目前的C++标准(ISO/IEC 14882:1998,以下简写为C++98)下仍然是合法的,但在新版标准中很有可能被去除或原创 2006-11-20 13:18:00 · 3439 阅读 · 0 评论 -
Design and implement an "Accumulator" class (complete)
Abstract A few months ago, I wrote two snippets that composed the basics of the initial half of this article. This one is the complete and formal version. Often than not, a seemingly trivi原创 2006-11-29 05:25:00 · 1361 阅读 · 0 评论 -
比较浮点数的黄金法则 -- The golden rule for floating number comparison
How to compare floating numbers is an ooold, yet frequently asked, question. Here I am not going to repeat the old answers, since as you know tons of good links are there in the web that explained wel原创 2007-08-22 05:59:00 · 1382 阅读 · 0 评论