mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
19 lines
304 B
C++
19 lines
304 B
C++
#ifndef STLP_DIGITS_H
|
|
#define STLP_DIGITS_H
|
|
|
|
#include <string>
|
|
|
|
inline void
|
|
#if !defined (STLPORT) || defined (_STLP_USE_NAMESPACES)
|
|
complete_digits(std::string &digits)
|
|
#else
|
|
complete_digits(string &digits)
|
|
#endif
|
|
{
|
|
while (digits.size() < 2)
|
|
{
|
|
digits.insert(digits.begin(), '0');
|
|
}
|
|
}
|
|
|
|
#endif
|