template<unsigned RawSize_, class T_, unsigned NRef_ = 0, class InfoType_ = void>
class typed_block< RawSize_, T_, NRef_, InfoType_ >
Block containing elements of fixed length.
Template parameters:
RawSize_
size of block in bytes
T_
type of block's records
NRef_
number of block references (BIDs) that can be stored in the block (default is 0)
InfoType_
type of per block information (default is no information - void)
The data array of type T_ is contained in the parent class stxxl::element_block
, see related information there. The BID array of references is contained in the parent class stxxl::block_w_bids
, see related information there. The "per block information" is contained in the parent class stxxl::block_w_info
, see related information there.
- Warning
- If
RawSize_
> 2MB object(s) of this type can not be allocated on the stack (as a function variable for example), because Linux POSIX library limits the stack size for the main thread to (2MB - system page size)