YARP
Yet Another Robot Platform
ConstString.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 #ifndef YARP_OS_CONSTSTRING_H
7 #define YARP_OS_CONSTSTRING_H
8 
9 #include <yarp/conf/system.h>
10 
11 #if !defined(YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE)
12 YARP_COMPILER_WARNING("<yarp/os/ConstString.h> file is deprecated")
13 #endif
14 
15 #include <yarp/os/api.h>
16 
17 #include <string>
18 
19 namespace yarp {
20 namespace os {
21 
22 YARP_DEPRECATED_TYPEDEF_MSG("Use std::string instead")
23 std::string ConstString;
24 
25 } // namespace os
26 } // namespace yarp
27 
28 #endif // YARP_OS_CONSTSTRING_H
std::string ConstString
Definition: ConstString.h:23
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_COMPILER_WARNING(x)
Generate a warning at build time on supported compilers.
Definition: system.h:109
#define YARP_DEPRECATED_TYPEDEF_MSG(x)
Definition: api.h:99