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