Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) Boost

 

Boost is a collection of cross-platform libraries, that might be called 'the playground of the next STL'. It is regarded as a rather good library [1-3].

 

 

All functions and classes are in the 'boost' namespace (although some will migrate to the std namespace).

 

#include <boost/shared_ptr.hpp>
 
struct Test() {};
 
int main()
{
  boost::shared_ptr<Test> test(new Test);
}

 

Familiarize yourself with Boost [1].

 

 

 

 

 

Installing Boost

 

Information about installing Boost can be found at the installing Boost page.

 

 

 

 

 

External links

 

 

 

 

 

 

References

 

  1. Scott Meyers. Effective C++ (3rd edition). ISBN: 0-321-33487-6. Item 54: Familiarize yourself with Boost
  2. Herb Sutter, Andrei Alexandrescu. C++ coding standards: 101 rules, guidelines, and best practices. 2005. ISBN: 0-32-111358-6: '...one of the most highly regarded and expertly designed C++ library projects in the world.'
  3. Bjarne Stroustrup. Abstraction, libraries, and efficiency in C++. Dr. Dobb's Journal China. Vol 1, no 1. August 2003: 'The obvious solution for most programmers is to use a library that provides an elegant and efficient platform independent to needed services. Examples are BOOST...'

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict