Compute Library
 20.08
StringSupport.h File Reference
#include <cassert>
#include <memory>
#include <sstream>
#include <string>

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2020 Arm Limited.
 
 arm_compute::support
 
 arm_compute::support::cpp11
 

Enumerations

enum  NumericBase { BASE_10, BASE_16 }
 

Functions

int stoi (const std::string &str, std::size_t *pos=0, NumericBase base=NumericBase::BASE_10)
 Convert string values to integer. More...
 
unsigned long stoul (const std::string &str, std::size_t *pos=0, NumericBase base=NumericBase::BASE_10)
 Convert string values to unsigned long. More...
 
template<typename T >
std::string to_string (T &&value)
 Convert integer and float values to string. More...
 
template<typename... Ts>
int stof (Ts &&... args)
 Convert string values to float. More...
 
std::string to_string (bool value)