How to include only BOOST smart pointer codes in a project?

What are the best methods to include a boost smart pointer library only without adding all additional libraries to the project?

I only need to increase the library of smart pointers in my project, and I do not want to check / commit 200 MB source codes (boost 1.42.0) to my project repository for this very purpose. What's more, my Windows mobile project doesn't even reach 10% of this size!

+5
source share
2 answers

For the smart pointer library, you have two options.

  • , (shared_ptr.hpp ..). ( ).
  • boost bcp. .

, . boost, , , , ( , ).

+16

, . // " " , , , . , (.. ), , , .

+2

All Articles