blob: e98d52fd5602df82b90ecd0f85e7e7bba0e12b4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#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);
|