Allocator Builder
Policy Based C++ Template Allocator Library
 All Classes Functions Variables Enumerations Enumerator Groups Pages
alb::v_100::memory_corruption_detector< T, Pattern > Class Template Reference

#include <memory_corruption_detector.hpp>

Public Types

using value_type = T
 

Static Public Attributes

static const size_t pattern = Pattern
 

Detailed Description

template<typename T, size_t Pattern>
class alb::v_100::memory_corruption_detector< T, Pattern >

This class can be used as Prefix and/or Suffix with the affix_allocator to detect buffer under-runs or overflows.

Template Parameters
Tmust be an integral type. A guard with its size is used
Patternthis pattern is put into the memory as guard e.g. 0xdeadbeef

Definition at line 29 of file memory_corruption_detector.hpp.


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