Boost logo

Boost :

From: Paul A. Bristow (boost_at_[hidden])
Date: 2003-06-11 14:10:22


| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]]On Behalf Of Nigel Stewart
| Sent: Wednesday, June 11, 2003 2:03 AM
| To: boost_at_[hidden]
| Subject: [boost] Re: Review Request: cyclic_buffer
|
| The "generally accepted" concept of a circular buffer
| is a fixed size contiguous memory buffer. Following
| the principle of "least surprise" a circular_buffer
| should not decide to resize itself.

On the "Keep It Simple Sir" principle, I agree with this.

Indeed, I think that most uses specifically require a fixed at construction
size,
and I suspect the code will be smaller, faster and correcter if this is the
specification.

Paul

Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK
+44 1539 561830 Mobile +44 7714 33 02 04
Mobile mailto:pabristow_at_[hidden]
mailto:pbristow_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk