From: Ben Bear (benbearchen_at_[hidden])
Date: 2007-11-13 03:33:51
2007/11/13, Hervé Brönnimann <hervebronnimann_at_[hidden]>:
> Ben: Before you do any substantial work, please check my proposal. I
> have tried to provide background / explanations, and a set of
> coherent interfaces. Please look at:
> The code in the .hpp (linked) is only temporary and not debugged. I
> am in the process of writing test cases. I'm happy to send it to you
> too... Keep in mind it is work in progress. I have a job and am
> spending far too much time on this at the moment :)
> PS: I am not sure about the Incrementor/Decrementor interfaces,
> unless I can come up with a convincing example where the underlying
> type is not int and does not have operator++ and operator--, but it
> still makes sense to count with it...
I agree with the eight "Without repetition" functions.
But the "With Repetition", I think that providing classes, such as
class gacap::repeat_permutation, is better than functions. I had not
thought how to privide functions about repetition version. It's new
thing to me.
I'll read this proposal. It's a little long for me.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk