iosfwd.mh

来自「开放源码的编译器open watcom 1.6.0版的源代码」· MH 代码 · 共 64 行

MH
64
字号
///////////////////////////////////////////////////////////////////////////
// FILE: iosfwd/iosfwd.h (iostream forwarding declarations)
//
:keep CPP_HDR
:include crwat.sp
//
// Description: This header is part of the C++ standard library. It
//              declares several iostream classes incompletely to serve
//              as forwarding declarations in cases where the overhead
//              of full class declarations is not necessary.
///////////////////////////////////////////////////////////////////////////
:segment !CNAME
#ifndef _IOSFWD_H_INCLUDED
#define _IOSFWD_H_INCLUDED

:include readonly.sp

#ifndef _IOSFWD_INCLUDED
  #include <iosfwd>
#endif
using std::ios;
using std::streambuf;
using std::istream;
using std::ostream;
using std::iostream;
using std::filebuf;
using std::ifstream;
using std::ofstream;
using std::fstream;

#endif
:elsesegment
#ifndef _IOSFWD_INCLUDED
#define _IOSFWD_INCLUDED

:include readonly.sp

#ifndef __cplusplus
#error The header iosfwd requires C++
#endif

#ifndef _COMDEF_H_INCLUDED
 #include <_comdef.h>
#endif

namespace std {
  class _WPRTLINK ios;

  // Basic streams.
  class _WPRTLINK streambuf;
  class _WPRTLINK istream;
  class _WPRTLINK ostream;
  class _WPRTLINK iostream;

  // File streams.
  class _WPRTLINK filebuf;
  class _WPRTLINK ifstream;
  class _WPRTLINK ofstream;
  class _WPRTLINK fstream;
}

#endif
:endsegment

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?