Create a temporary directory with the specified prefix.
Declared in <bdls_tempdirectoryguard.h>
explicit
TempDirectoryGuard(
std::string_view const& prefix,
bslma::Allocator* basicAllocator = 0);
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.
| Name | Description |
|---|---|
| prefix | directory name prefix for the temporary directory |
| basicAllocator | memory allocator; null uses the default |