Return the number of representable generations for a circular buffer of the specified capacity.

Synopsis

Declared in <bdlcc_fixedqueueindexmanager.h>

static
unsigned int
numRepresentableGenerations(std::size_t capacity);

Return Value

number of representable generations

Parameters

Name

Description

capacity

capacity of the circular buffer

Created with MrDocs