blob: 460a3aceabc44360ba5ef93f7d1237d24ddf4b5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include <string>
constexpr unsigned int NUMBER_BASE = 10U;
/**
* 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);
|