ArmNN
 22.02
Filesystem.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #if defined(_MSC_VER)
9 // ghc includes Windows.h directly, bringing in macros that we don't want (e.g. min/max).
10 // By including Windows.h ourselves first (with appropriate options), we prevent this.
11 #include <common/include/WindowsWrapper.hpp>
12 #endif
13 #include <ghc/filesystem.hpp>
14 namespace fs = ghc::filesystem;
15 
16 namespace armnnUtils
17 {
18 namespace Filesystem
19 {
20 
21 /// Returns a path to a file in the system temporary folder. If the file existed it will be deleted.
22 fs::path NamedTempFile(const char* fileName);
23 
24 }
25 }
fs::path NamedTempFile(const char *fileName)
Returns a path to a file in the system temporary folder. If the file existed it will be deleted...
Definition: Filesystem.cpp:23