示例#1
0
bool _STLP_CALL
__stlp_string_fill(basic_ostream<_CharT, _Traits>& __os,
                  basic_streambuf<_CharT, _Traits>* __buf,
                  size_t __n)
{
  _CharT __f = __os.fill();
  size_t __i;
  bool __ok = true;

  for (__i = 0; __i < __n; ++__i)
    __ok = __ok && !_Traits::eq_int_type(__buf->sputc(__f), _Traits::eof());
  return __ok;
}
示例#2
0
bool __STL_CALL
__sgi_string_fill(basic_ostream<_CharT, _Traits>& __os,
_Buf* __buf,		//*TY 02/27/2000 - simplified parameter type
size_t __n)
#endif											//*TY 02/27/2000 - 
{
_CharT __f = __os.fill();
size_t __i;
bool __ok = true;

for (__i = 0; __i < __n; ++__i)
    __ok = __ok && !_Traits::eq_int_type(__buf->sputc(__f), _Traits::eof());
return __ok;
}