François Wanadoo <[EMAIL PROTECTED]> writes: > Hello Boosters > > I am currently developing some template algorithm and had some trouble > using BCCL. I have an algorithm using a unary function as one of its > template parameter but I don't care about the result type of this unary > function (like the for_each standard algo). I can't use the > UnaryFunctionConcept because you have to stipulate the result type. What do > you think about creating a boost::AnyType to indicate that we don't care > about a type in a template specialization. A very simple partial > specialization of UnaryFunctionConcept would lead to:
... > I am waiting for your remarks, thank you for reading. Briefly, "that's a different concept; you should make your own checker for it." UnaryFunctionConcept is fine as is; making this change would complicate it and its documentation. -- 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