Subject: [Boost-users] How to get the temporary directory ?
From: Timothy Madden (terminatorul_at_[hidden])
Date: 2010-09-27 02:20:56


Hello

The new boost::filesystem::unique_path in V3 filesystem is great, but is
there any way to also get the temporary directory ? A function that
would return ::GetTempPath() on Windows systems and something like /tmp
or /var/tmp on POSIX systems ? Or is there some portable way to do this
already ?

Thank you,
Timothy Madden