Boost logo

Boost :

Subject: Re: [boost] [filesystem] temp_dir_path()
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2010-10-12 09:12:15

I've updated ticket#4724 with temp_dir_path2.patch which reflects the
discussion in this thread.

POSIX now uses the first environment variable from the list TMPDIR, TMP,
TEMP, TEMPDIR. Windows still uses GetTempPath.

Error handling is consistent with the rest of filesystem.

operations_test.hpp tests the existence of the path returned by
temp_dir_path, and the ability to create a file, write to it, read from
it, and remove it from the directory. I've run tests on Window XP:
msvc8, Mac OSX 10.5.8: Xcode 3.1.2 using gcc 4.0.1.

Beman, do you think we can get this into 1.45?

Thanks, Jeff

Boost list run by bdawes at, gregod at, cpdaniel at, john at