[#BloombergLP-bdls-TempDirectoryGuard-getTempDirName]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/TempDirectoryGuard.adoc[TempDirectoryGuard]::getTempDirName
:relfileprefix: ../../../
:mrdocs:

Return a `const` reference to the name of the created temporary directory, or an empty string if the directory was released from management&period;

== Synopsis

Declared in `&lt;bdls&lowbar;tempdirectoryguard&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/string.adoc[bsl::string] const&
getTempDirName() const;
----

== Return Value

the temporary directory name, or an empty string if released


[.small]#Created with https://www.mrdocs.com[MrDocs]#
