Skip to content

Temp

Temp folder

Try boost::filesystem's temp_directory_path() which internally uses:

  • ISO/IEC 9945 (POSIX): The path supplied by the first environment variable found in the list TMPDIR, TMP, TEMP, TEMPDIR. If none of these are found, "/tmp".
  • Windows: The path reported by the Windows GetTempPath API function.

See also

Favorite site