Dire
Complete cross-platform solution for data and user directories discovery.
Loading...
Searching...
No Matches
defines.hpp
Go to the documentation of this file.
1
#pragma once
2
3
// This is intentionally a transitive include
4
5
#include <filesystem>
6
7
#if defined(DIRE_USE_TL_LIBS)
8
#include <tl/optional.hpp>
9
#else
10
#include <optional>
11
#endif
12
13
namespace
dire
14
{
15
16
using
Path
= std::filesystem::path;
17
18
#if defined(DIRE_USE_TL_LIBS)
19
20
template
<
typename
T>
21
using
Optional
= tl::optional<T>;
22
23
#else
24
25
template
<
typename
T>
26
using
Optional
= std::optional<T>;
27
28
#endif
29
30
}
// namespace dire
dire
Definition
base.hpp:6
dire::Optional
std::optional< T > Optional
Definition
defines.hpp:26
dire::Path
std::filesystem::path Path
Definition
defines.hpp:16
src
lib
include
dire
defines.hpp
Generated by
1.9.8