
19 Feb
2006
19 Feb
'06
10:17 a.m.
How about something along the lines of:
bcp boost/shared_ptr.hpp --exclude=quick_allocator.hpp
Or:
#ifdef BOOST_SP_USE_QUICK_ALLOCATOR
//@bcp optional "quick_allocator is only used if explicitly requested" #include
#endif
which would then inform the user that an optional dependency wasn't being followed (if this is the default):
bcp: an optional dependency isn't included in the subset because
`quick_allocator is only used if explicitly requested'
bcp: use `bcp boost/shared_ptr.hpp boost/detail/quick_allocator.hpp' to include it
The advantage is that we don't have to decide whether to follow a particular dependency, the choice can be left to the person running bcp.
I like it, shouldn't be too hard to add either..... John.