Category Archives: C++

Articles from C++ area

std::unique_ptr

New standard for C++, namely “C++0x”, is introducing a new smart pointer type: std::unique_ptr. GCC (and probably other C++ compilers too) supports it already. But unfortunately it’s hard to find good documentation for std::unique_ptr in the Internet. What is important about … Continue reading

Posted in C++, C++ stdlib | Leave a comment

Assert depending on the order of object files during linking

What a ridiculous condition?!? Is it possible? Unfortunately yes… An assert statement was triggered in a C++ program depending on the order of object files during linking. It happened to me with Boost.serialization in version 1.44 and GCC v4.4.1 (Linux). … Continue reading

Posted in C++ | Tagged , , , , | 1 Comment

Proven best open-source portable C++ libraries

There was always a problem with C++ as its standard library is very limited. For example whenever application you develop is going to use a graphic user interfejs or automatic memory management or network or multithreading or portable and sophisticated … Continue reading

Posted in C++ | Leave a comment

Deriving from std::streambuf

It’s nice, elegant and effective to make use of standard library from C++. Just to mention less dependencies on third party libraries is less mess and less risk in your project. When it comes to input/output C++ standard library offers … Continue reading

Posted in C++, C++ stdlib | Tagged , , , , , | 8 Comments