Use Boost C++ libraries for development?

Asked by Uwe Klotz

The Boost C++ libraries provide lots of platform independent functionality. The libraries are thoroughly tested and code quality is very good in general. Using Boost helps to deal with compiler differences, especially when migrating existing code to new C++ standard revisions. One reason for this is that some new features of C++ 11 originally emerged from existing Boost libaries.

Using Boost gets you as close as possible to standard C++, now and in the future. It also helps to separate GUI-independent code from GUI-oriented frameworks like Qt.

Very simple example: The basic container class CircularBuffer could be replaced with the STL compliant boost::circular_buffer

Question information

Language:
English Edit question
Status:
Answered
For:
Mixxx Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Daniel Schürmann (daschuer) said :
#1

There is no doubt that the boost library is handy and powerful libraries.
Qt is somehow complete, that there was no strong demand to use it in the past.
The same in valid for the STL.

Qt tries sometimes re-implement function of the STL/Boost "world" in the QT way, for a one stop shopping experience.
Container Classes and Smart pointer for example are core parts of Qt.

From this point of view, I would prefer not to introduce boost, unless there is a strong demand.

Can you help with this problem?

Provide an answer of your own, or ask Uwe Klotz for more information if necessary.

To post a message you must log in.