create_directory Function
Creates a directory from a specified file name.
template<class Path>
inline bool create_directory(
const Path& Pval
);
Parameters
- Pval
An Path object that contains a directory path. Path can be either a basic_path or a type that is derived from basic_path.
Return Value
true if the directory creation succeeds; false if the directory already exists.
Remarks
If the directory cannot be created, the function throws a basic_filesystem_error.
Requirements
Header: filesystem
Namespace: std::tr2::sys