Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

create_directory Function

Creates a directory from a specified file name.

template<class Path>
inline bool create_directory(
   const Path& 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.

true if the directory creation succeeds; false if the directory already exists.

If the directory cannot be created, the function throws a basic_filesystem_error.

Header: filesystem

Namespace: std::tr2::sys

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.