mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-10 22:08:37 +08:00
Added stringToSizeType and its unittest #4601
This commit is contained in:
@@ -88,11 +88,17 @@ Remove all specific \c c in \c suject
|
||||
*/
|
||||
void removeChar(String& subject, const char c);
|
||||
|
||||
//! Convert an integer to a string
|
||||
//! Convert a size type to a string
|
||||
/*!
|
||||
Convert an \c integer to a string
|
||||
Convert an size type to a string
|
||||
*/
|
||||
String intToString(size_t integer);
|
||||
String sizeTypeToString(size_t n);
|
||||
|
||||
//! Convert a string to a size type
|
||||
/*!
|
||||
Convert an a \c string to an size type
|
||||
*/
|
||||
size_t stringToSizeType(String string);
|
||||
|
||||
//! Case-insensitive comparisons
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user