Samstag, 24. November 2012

Freitag, 23. November 2012

[C++11] Reducing compile time using forward declaration and pimpl

Just thought about how to reduce some compile time.
Things like dependencies and therefor forward declaration and pimpl.
Here is a rather long example a came up with:

Sonntag, 11. November 2012

[C++] Moving own classes in standard container

Question
Got a question from a friend yesterday.
He had the following codes: 

The question was: "Why is the destructor called two times?"