[#TryCreateDirectories]
= TryCreateDirectories
:mrdocs:

Create a directory and any missing parent directories&period;

== Synopsis

Declared in `&lt;util&sol;fs&lowbar;helpers&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
TryCreateDirectories(xref:fs/path.adoc[fs::path] const& p);
----

== Return Value

true if a new directory was created, false if it already existed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p* [in]
| The directory path to create&period;
|===


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