![]() |
Home | Libraries | People | FAQ | More |
There are two ways you can include the Boost.TR1 headers, for example if you are interested in shared_ptr then you can either use:
#include <boost/tr1/memory.hpp>
or:
#include <memory>
The first option is the preferred method for other Boost libraries to use.
The second option is standard-conforming, but requires that you add boost-install-path/boost/tr1/tr1
to your compiler's include search path.
Note that you must not copy the headers in boost/tr1/tr1 into a directory
called "include", doing so will cause them to cease working.