Disposes the held element using its deleter.

Synopsis

Declared in <folly/detail/ThreadLocalDetail.h>

bool
dispose(TLPDestructionMode mode) noexcept;

Return Value

True if an element was disposed, false if none was held.

Parameters

Name

Description

mode

The destruction mode in effect.

Created with MrDocs