ReactOS Fundraising Campaign 2012
 
€ 11,198 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

template<class _CharT, class _Traits>
bool basic_ostream< _CharT, _Traits >::_M_copy_unbuffered ( basic_streambuf< _CharT, _Traits > *  __from,
basic_streambuf< _CharT, _Traits > *  __to 
) [private]

Definition at line 145 of file _ostream.c.

                                                               {
  typedef _SPutBackC<_CharT, _Traits> _SPutBackCGuard;
  bool __any_inserted = false;
  int_type __c;

  _STLP_TRY {
    _SPutBackCGuard __cguard(__from);
    for (;;) {
      _STLP_TRY {
        __c = __from->sbumpc();
      }
      _STLP_CATCH_ALL {
        this->_M_handle_exception(ios_base::failbit);
        break;
      }

      if (this->_S_eof(__c))
        break;

      __cguard.guard(__c);
#if defined (__DMC__)
      _STLP_TRY {
#endif
      if (this->_S_eof(__to->sputc(_Traits::to_char_type(__c))))
        break;

#if defined (__DMC__)
      }
      _STLP_CATCH_ALL {
        this->_M_handle_exception(ios_base::badbit);
        break;
      }
#endif
      __cguard.release();
      __any_inserted = true;
    }
  }
  _STLP_CATCH_ALL {
    this->_M_handle_exception(ios_base::badbit);
  }
  return __any_inserted;
}

Generated on Thu Oct 25 2012 06:36:18 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.