RE: [boost] circular_buffer: minor feature request

2003-07-23 Thread Darryl Green
-Original Message- From: Jan Gaspar [mailto:[EMAIL PROTECTED] Ok, it would be possible. Pavel Vozenilek wrote: Would it be possible to add helper function 'flatten()' into circular_buffer? After invocation, user would be sure of: buff[0] buff[1] ... buff[n] [snip]

Re: [boost] circular_buffer: minor feature request

2003-07-23 Thread Jan Gaspar
I think, I changed mind. The flatten() method can be substituted by something like this: void doSomething(const int* pInt, size_t numInts); // C API circular_bufferint intBuffer(10); ... // fill the buffer somehow vectorint

[boost] circular_buffer: minor feature request

2003-07-22 Thread Pavel Vozenilek
Would it be possible to add helper function 'flatten()' into circular_buffer? After invocation, user would be sure of: buff[0] buff[1] ... buff[n] In other words, user will be able to treat circular_buffer content as continuous array of values in this moment. It is not earth shaking

Re: [boost] circular_buffer: minor feature request

2003-07-22 Thread Jan Gaspar
Ok, it would be possible. Jan Pavel Vozenilek wrote: Would it be possible to add helper function 'flatten()' into circular_buffer? After invocation, user would be sure of: buff[0] buff[1] ... buff[n] In other words, user will be able to treat circular_buffer content as continuous