BloombergLP::bdls::TempDirectoryGuard::TempDirectoryGuard

Create temporary directory with the specified prefix in the system-wide temp or current directory. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Synopsis

Declared in <bdls_tempdirectoryguard.h>

explicit
TempDirectoryGuard(
    std::string_view const& prefix,
    bslma::Allocator* basicAllocator = 0);