libstdc++
stl_deque.h File Reference

Go to the source code of this file.

Classes

Namespaces

Defines

Functions


Detailed Description

This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <deque>.

Definition in file stl_deque.h.


Define Documentation

This function controls the size of memory nodes.

Parameters:
__sizeThe size of an element.
Returns:
The number (not byte size) of elements per node.

This function started off as a compiler kludge from SGI, but seems to be a useful wrapper around a repeated constant expression. The 512 is tunable (and no other code needs to change), but no investigation has been done since inheriting the SGI code. Touch _GLIBCXX_DEQUE_BUF_SIZE only if you know what you are doing, however: changing it breaks the binary compatibility!!

Definition at line 86 of file stl_deque.h.