|
Boost : |
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2007-08-10 19:35:58
Ion Gaztañaga wrote:
> I agree. Having T as the first parameter would be ideal. Putting the
> configuration pack at the end of the expected parameters (predicate
> function + hash). Something like:
>
> list<T, ...>
> set<T, Pred, options...>
> unordered_set<T, Hash, Pred, options...>
Well, this one would have the "consistency bonus". Still, I'd probably
put everything OPTIONal into the options, because it's just more practical.
> Whatever option I choose, I'll need to think about how I'll pass diverse
> hook information in the configuration and still support the stateful
> non-intrusive hooks you pointed out in this thread. Who said Intrusive
> was just in maintenance mode!
I'm glad to hear you found the discussion inspiring - it has been a
pleasure.
Regards,
Tobias
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk