Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net