YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
filesystem.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6
7#ifndef YARP_CONF_FILESYSTEM_H
8#define YARP_CONF_FILESYSTEM_H
9
11#if (defined _WIN32)
12# if (_MSC_VER >= 1920)
13typedef wchar_t value_type;
14static constexpr value_type preferred_separator = L'\\';
15# else
16typedef char value_type;
17static constexpr value_type preferred_separator = '\\';
18# endif
19#else
20typedef char value_type;
21static constexpr value_type preferred_separator = '/';
22#endif
23
24} // namespace yarp::conf::filesystem
25
26
27#endif // YARP_CONF_FILESYSTEM_H
static constexpr value_type preferred_separator
Definition filesystem.h:21