C++0x, the incoming C++ standard, is subject of continuous changes. Few months ago C++0x Concepts were removed from the working draft. Now, Template Exports will be deprecated from the future standard. What does it means?. "A template defines a family of classes, functions, or concept maps, or an alias for a family of types". Who has worked with C++ templates, knows that they are the most powerful approach to abstraction. Also they are pretty similar to the Java Generics, but different enough to hold more complex classes and methods, such as working with operators.
web developer & system programmer
coder . cl
ramblings and thoughts on programming...
c++0x, deprecation of exported templates
published: 24-10-2009 / updated: 24-10-2009posted in: c++, programming, tips
by Daniel Molina Wegener
some C++0x functional programming features
published: 02-09-2009 / updated: 02-09-2009posted in: c++, programming, tips
by Daniel Molina Wegener
I know a little about functional programming. Certainly, It have interesting features, such as Lambda Expressions and Closures. It seems that C++0x, the new C++ standard will support both of them. Closures, known as nested functions and Lambda Expressions, known as anonymous functions are neat tools on developing fast code with small pieces of them. Lambda expressions can be used as arguments. They allow certain kind of abstractions, allowing the implementation of computational structures like Monads and Monoids.
interpreting valgrind messages
published: 15-08-2009 / updated: 15-08-2009posted in: c, c++, programming, tips
by Daniel Molina Wegener
In other posts I’ve presented you some ways to detect memory leaks, conceptually rather than practically, but enough to understand them and solve those programming issues. Normally, valgrind messages. There are some posts about valgrind and well documented user guides, such as the guide written by Alex Ott. This article is about on how to interpret valgrind messages while you are using it as memory allocation debugger.