Quick Links:

bal | bbl | bdl | bsl

Public Types | Static Public Member Functions

bsls::BlockGrowth Struct Reference

#include <bsls_blockgrowth.h>

List of all members.

Public Types

enum  Strategy { BSLS_GEOMETRIC, BSLS_CONSTANT }

Static Public Member Functions

static const char * toAscii (BlockGrowth::Strategy value)

Detailed Description

This struct provides a namespace for memory block growth strategies for pools, allocators, containers, etc.

See Component bsls_blockgrowth


Member Enumeration Documentation

Enumerator:
BSLS_GEOMETRIC 

Default. Indicates that memory block sizes grow geometrically.

BSLS_CONSTANT 

Indicates that memory block size is locked.


Member Function Documentation

static const char* bsls::BlockGrowth::toAscii ( BlockGrowth::Strategy  value  )  [static]

Return the string representation of the specified enumerator value. The string representation of value matches its corresponding enumerator name with the BSLS_ prefix elided.


The documentation for this struct was generated from the following file: