Or:
#ifdef BOOST_SP_USE_QUICK_ALLOCATOR
//@bcp optional "quick_allocator is only used if explicitly requested" #include
#endif
I've just added this to bcp as an experiment (it's in mainline cvs), with the extra line above added to shared_ptr as well, the full dependency list is down to: $bcp --cvs --list shared_ptr.hpp Optional functionality won't be copied: quick_allocator is only used if explicitly requested Add the file boost/detail/quick_allocator.hpp to the list of dependencies to extract to copy this functionality. boost/assert.hpp boost/checked_delete.hpp boost/config.hpp boost/config/abi/borland_prefix.hpp boost/config/abi/borland_suffix.hpp boost/config/abi/msvc_prefix.hpp boost/config/abi/msvc_suffix.hpp boost/config/abi_prefix.hpp boost/config/abi_suffix.hpp boost/config/auto_link.hpp boost/config/compiler/borland.hpp boost/config/compiler/comeau.hpp boost/config/compiler/common_edg.hpp boost/config/compiler/compaq_cxx.hpp boost/config/compiler/digitalmars.hpp boost/config/compiler/gcc.hpp boost/config/compiler/gcc_xml.hpp boost/config/compiler/greenhills.hpp boost/config/compiler/hp_acc.hpp boost/config/compiler/intel.hpp boost/config/compiler/kai.hpp boost/config/compiler/metrowerks.hpp boost/config/compiler/mpw.hpp boost/config/compiler/sgi_mipspro.hpp boost/config/compiler/sunpro_cc.hpp boost/config/compiler/vacpp.hpp boost/config/compiler/visualc.hpp boost/config/no_tr1/complex.hpp boost/config/no_tr1/functional.hpp boost/config/no_tr1/memory.hpp boost/config/no_tr1/utility.hpp boost/config/platform/aix.hpp boost/config/platform/amigaos.hpp boost/config/platform/beos.hpp boost/config/platform/bsd.hpp boost/config/platform/cygwin.hpp boost/config/platform/hpux.hpp boost/config/platform/irix.hpp boost/config/platform/linux.hpp boost/config/platform/macos.hpp boost/config/platform/qnxnto.hpp boost/config/platform/solaris.hpp boost/config/platform/win32.hpp boost/config/posix_features.hpp boost/config/requires_threads.hpp boost/config/select_compiler_config.hpp boost/config/select_platform_config.hpp boost/config/select_stdlib_config.hpp boost/config/stdlib/dinkumware.hpp boost/config/stdlib/libcomo.hpp boost/config/stdlib/libstdcpp3.hpp boost/config/stdlib/modena.hpp boost/config/stdlib/msl.hpp boost/config/stdlib/roguewave.hpp boost/config/stdlib/sgi.hpp boost/config/stdlib/stlport.hpp boost/config/stdlib/vacpp.hpp boost/config/suffix.hpp boost/config/user.hpp boost/current_function.hpp boost/detail/atomic_count.hpp boost/detail/atomic_count_gcc.hpp boost/detail/atomic_count_pthreads.hpp boost/detail/atomic_count_win32.hpp boost/detail/bad_weak_ptr.hpp boost/detail/interlocked.hpp boost/detail/shared_count.hpp boost/detail/shared_ptr_nmt.hpp boost/detail/sp_counted_base.hpp boost/detail/sp_counted_base_cw_ppc.hpp boost/detail/sp_counted_base_gcc_ia64.hpp boost/detail/sp_counted_base_gcc_ppc.hpp boost/detail/sp_counted_base_gcc_x86.hpp boost/detail/sp_counted_base_nt.hpp boost/detail/sp_counted_base_pt.hpp boost/detail/sp_counted_base_w32.hpp boost/detail/sp_counted_impl.hpp boost/detail/workaround.hpp boost/non_type.hpp boost/shared_ptr.hpp boost/throw_exception.hpp boost/type.hpp boost/version.hpp The list of config files is still rather long, but I'd say that's a result - certainly not bad for 10 minutes programming :-) John.