sapphirec
The Sapphire documentation
utils.cpp File Reference
#include "utils.h"
#include <sstream>

Functions

bool replace (std::string &str, const std::string &from, const std::string &to)
 
std::string to_string (const int &value)
 
std::string to_string (const float &value)
 

Function Documentation

◆ replace()

bool replace ( std::string &  str,
const std::string &  from,
const std::string &  to 
)

◆ to_string() [1/2]

std::string to_string ( const float &  value)

◆ to_string() [2/2]

std::string to_string ( const int &  value)