BloombergLP::balber::BerDecoder_Zeroer

This class is a deleter that just zeroes out a given pointer upon destruction, for making code exception-safe.

Synopsis

Declared in <balber_berdecoder.h>

class BerDecoder_Zeroer;

Member Functions

NameDescription
BerDecoder_Zeroer [constructor]Create a zeroer that clears the options pointer at the specified options address on destruction.
~BerDecoder_Zeroer [destructor]Zero out the options pointer supplied at construction.