Content


NTL
Core
TryStringToUInt

TryStringToUInt


Try to convert string to unsigned int.

You can find more information in comments below.

/**
Try convert string to unsigned int 
@param str Wide character string 
@param[out] out Reference to unsigned integer where to store result of conversion 
@return True if conversion succeeded, otherwise - false 
*/
bool TryStringToUInt(const String &str, unsigned int &out);
/**
Try convert ansi string to unsigned int 
@param str Ansi string 
@param[out] out Reference to unsigned integer where to store result of conversion 
@return True if conversion succeeded, otherwise - false 
*/
bool TryStringToUInt(const AnsiString &str, unsigned int &out);
Namespace: nitisa
Include: Nitisa/Core/Strings.h