Boost is organized by several members of the standard committee.
Thus, this is an environment for libraries, which will be in the next standard.
- This is an extension for STL (it fills the remaining bits)
- This is well documented.
- He is well versed.
- It is highly active, so errors are detected and corrected quickly.
- This platform is neutral and works everywhere.
- It is free to use.
When tr1 arrives soon, it's nice to know that boost already has a lot of land. Many tr1 libraries are mainly adapted directly from the original originals and thus have been tried and tested. The difference is that they were moved to the std :: tr1 namespace (and not to boost).
All you have to do is add the following default compilers to include the search path :
<boost-install-path>/boost/tr1/tr1
Then, when you include standard headers, boost automatically imports all the necessary materials into the std :: tr1 namespace
For example:
To use std :: tr1 :: share_ptr, you just need to include <memory>. This will give you all the smart pointers with a single file.
Loki Astari Sep 29 '08 at 15:48 2008-09-29 15:48
source share