File: Extract function to convert path to string.

This commit is contained in:
Jared Boone
2016-09-07 22:20:51 -07:00
parent df0fc30fda
commit f80706cb34
3 changed files with 10 additions and 7 deletions

View File

@@ -70,6 +70,8 @@ using file_status = BYTE;
static_assert(sizeof(path::value_type) == 2, "sizeof(std::filesystem::path::value_type) != 2");
static_assert(sizeof(path::value_type) == sizeof(TCHAR), "FatFs TCHAR size != std::filesystem::path::value_type");
std::string path_to_string(const path& p);
struct space_info {
static_assert(sizeof(std::uintmax_t) >= 8, "std::uintmax_t too small (<uint64_t)");