23.08
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_TEST_STRINGSUPPORT
25 #define ARM_COMPUTE_TEST_STRINGSUPPORT
70 std::stringstream ss_p;
94 std::stringstream stream;
95 unsigned long value = 0;
106 std::stringstream ss_p;
116 #if(__ANDROID__ || BARE_METAL)
129 std::stringstream stream;
130 stream << std::forward<T>(value);
135 inline std::string
to_string(
const std::string &value)
149 inline float stof(
const std::string &
str)
151 std::stringstream stream(
str);
167 template <
typename T>
188 template <
typename... Ts>
198 std::stringstream
str;
199 str << std::boolalpha << value;
std::string to_string(T &&value)
Convert integer and float values to string.
decltype(strategy::transforms) typedef type
std::string to_string(bool value)
int stof(Ts &&... args)
Convert string values to float.
std::stringstream ss(mlgo_str)
unsigned long stoul(const std::string &str, std::size_t *pos=0, NumericBase base=NumericBase::BASE_10)
Convert string values to unsigned long.
Copyright (c) 2017-2023 Arm Limited.
int stoi(const std::string &str, std::size_t *pos=0, NumericBase base=NumericBase::BASE_10)
Convert string values to integer.