Daniel Wallin <[EMAIL PROTECTED]> writes: > Given the recent discussions on policy based pointers and arbitrary > parameter order I thought I'd see if there is any interest in some > policy extraction template's I recently wrote. > > The idea here is that the user specifies a set of parameters, a set > of rules by which to extract the policy types and a set of default > values. The extract_policies template then extracts the matched > types and makes them easily accessible through numbered typedefs.
This is roughly what I've been suggesting for a while now. Thanks for coding it up and posting it! You can see a "runtime" version of this at boost/python/detail/def_helper.hpp, FWIW. -Dave -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost