blob: 91a1d8eea5dd48476ac317ca8c749eee10ccbb36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef UTILS_HPP
#define UTILS_HPP
#include <memory>
#include <string>
/**
* Converts a string to a unsigned integer.
*
* @param str A string that possibly is a unsigned integer
* @returns A unsigned integer
*/
unsigned int str_to_uint(std::string str);
#endif
|