bool create_directories(const path& p);
bool create_directories(const path& p, error_code& ec) noexcept;
Effects: Establishes the postcondition by calling create_directory() for any element of p that does not exist.
Returns: true if a new directory was created, otherwise false. The signature with argument ec returns false if an error occurs.
Throws: As specified in [fs.err.report].