ADTF
Loading...
Searching...
No Matches
std_to_string.h
Go to the documentation of this file.
1
14
15
#ifndef DD_STD_TO_STRING_WRAP
16
#define DD_STD_TO_STRING_WRAP
17
18
#ifdef __QNX__
19
#include <sstream>
20
#include <stdlib.h>
21
#include <string>
22
23
namespace
std {
27
template
<
typename
T>
28
string
to_string
(T value)
29
{
30
ostringstream convert;
31
convert << value;
32
return
convert.str();
33
}
34
38
inline
unsigned
long
stoul(
const
std::string& string_value)
39
{
40
char
* endptr = {};
41
return
strtoul(string_value.c_str(), &endptr, 10);
42
}
43
47
inline
int
stoi(
const
std::string& string_value)
48
{
49
return
atoi(string_value.c_str());
50
}
51
52
}
// namespace std
53
54
#endif
55
56
#endif
// DD_STD_TO_STRING_WRAP
A_UTILS_NS::detail::to_string
std::string to_string(const cResult &i_oResult) noexcept
workspace
conan
dev_essential
1.7.1
dw
stable
package
65324bff46e457721a7ba250afe9d61dc2b0e57a
include
ddl
utilities
std_to_string.h
Copyright © CARIAD SE. All rights reserved | Generated on Sun Oct 4 2026 by doxygen 1.13.2 | GIT Commit Hash: fb0d2ce6123f5b5b90c1fbefdece11805ba37a3f