So, I wanted to separate only smart pointers from boost for use in my project, and I was asked to use a utility bcp.
Today I compiled it and did it bcp smart_ptr to_copy_to_my_project/.
Result: 6 MB of code in the directory to_copy_to_my_project/.
Are you kidding? I do not want to add 6MB header files to my 100KB project to use smart pointers.
For example, it copies the following win32 file (I am on Linux):
Copying file: boost/thread/win32/basic_timed_mutex.hpp
Copying file: boost/thread/win32/condition_variable.hpp
Copying file: boost/thread/win32/interlocked_read.hpp
Why should I copy win32 files using smart_ptr when I am on Linux?
also:
Copying file: boost/mpl/aux_/preprocessed/msvc60/advance_backward.hpp
...
Copying file: boost/mpl/aux_/preprocessed/msvc70/advance_backward.hpp
...
Copying file: boost/mpl/aux_/preprocessed/mwcw/advance_backward.hpp
and
Copying file: boost/date_time/adjust_functors.hpp
Why is smart_ptr dependent on date_time?
Also, as for all of these tests, which he copied:
Copying file: libs/smart_ptr/test/allocate_shared_esft_test.cpp
...
I do not need it! I just need smart_ptr!
- ? 6 , 10 20 ...
, .