[#bsl-Deque_BlockLengthCalcUtil]
= xref:bsl.adoc[bsl]::Deque&lowbar;BlockLengthCalcUtil
:relfileprefix: ../
:mrdocs:

Utility that computes how many elements fit in each deque block&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;deque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class VALUE&lowbar;TYPE&gt;
struct Deque&lowbar;BlockLengthCalcUtil;
----

== Description

This `struct` provides a namespace for the calculation of block length (the number of elements per block within a `deque`)&period; This ensures that each block in the deque can hold at least 16 elements&period;

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:bsl/Deque_BlockLengthCalcUtil/_04enum.adoc[`Unnamed enum`] 
| Block&hyphen;size calculation constants for `deque`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
