Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

need single header file for boost::shared_ptr

Boost::shared_ptr is really great. But using it you need lots of header file. Is thare any single header file available that will provide shared_ptr functionality?

somewhat urgent.

like image 344
Vijay Avatar asked Mar 24 '11 06:03

Vijay


1 Answers

If you want to avoid having all the boost header files although you use shared_ptr only, you can extract the shared_ptr with BCP:

http://www.boost.org/doc/libs/1_36_0/tools/bcp/bcp.html

It won't give you a single header file, though, but I doubt that this would give you any noticeable advantage.

like image 180
Philipp Avatar answered Oct 04 '22 06:10

Philipp