Boost logo

Boost :

From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2008-04-08 07:43:31

Jan Gaspar <jano_gaspar <at>> writes:

> Yes, using the modulus operation would do. But I think wrapping the
> circular_buffer instead of deriving from it would suit better as
> there is no virtual destructor present in the circular_buffer.

I think the "don't derive without virtual dtor" rule is a little
overrated. I give my opinions on the matter at

Best regards,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

Boost list run by bdawes at, gregod at, cpdaniel at, john at