
cpp
FireCoder
这个作者很懒,什么都没留下…
展开
-
c++ References vs. Pointers
Reference1. If you are familiar with Java/C#, treat reference as Java/C# reference. unlike in java/C#, which always do referene copy, e.g, obj1 = obj2. In c++, all the copy is value copy of object转载 2010-03-29 17:31:00 · 1606 阅读 · 0 评论 -
function object (functor) (1)
http://en.wikipedia.org/wiki/Functorhttp://en.wikipedia.org/wiki/Function_object In >, it said A function object is a class that provides an overloaded instance of the function call operator原创 2010-03-30 16:24:00 · 830 阅读 · 0 评论 -
function object (functor) (2) : first-class funtion
http://en.wikipedia.org/wiki/First-class_function In computer science, a programming language is said to support first-class functions[1] (also called function literals, function types) if it trea原创 2010-03-30 17:40:00 · 839 阅读 · 0 评论 -
function object (functor) (3) : Closure
http://en.wikipedia.org/wiki/Closure_(computer_science) first-class Function + Free variables (upvalues) In computer science, a closure is a first-class function with free variables that are b原创 2010-03-30 17:52:00 · 812 阅读 · 0 评论