// iomanip standard header
#ifndef _IOMANIP_
#define _IOMANIP_

#pragma info(none)
#ifndef __CHKHDR__
#  pragma report(level, E)
#endif
#pragma info(restore)

#if __IBMCPP__ < 400
#error This file to be used only with IBM VisualAge C++ v4 and later compilers.
#endif /* __IBMCPP__ */

#pragma namemangling(ansi)

   /********************************************************************/
   /*  <iomanip> header file                                           */
   /*                                                                  */
   /*  VisualAge C++, Version 4.0                                      */
   /*    Licensed Material - Property of IBM                           */
   /*                                                                  */
   /*  5801-AAR and Other Materials                                    */
   /*                                                                  */
   /*  (c) Copyright IBM Corp 1991, 1998. All rights reserved.         */
   /*                                                                  */
   /*                                                                  */
   /*  Licensed Materials.                                             */
   /*                                                                  */
   /*  Dinkum C++ Library                                              */
   /*  Copyright (c) 1998.  Licensed to IBM Corp. and its suppliers.   */
   /*                                                                  */
   /********************************************************************/

#include <istream>
_STD_BEGIN
		// TEMPLATE FUNCTION setfill
template<class _E>
	struct _Fillobj {
	_Fillobj(_E _Charg)
		: _Ch(_Charg) {}
	_E _Ch;
	};
template<class _E> inline
	_Fillobj<_E> setfill(_E _C)
	{return (_Fillobj<_E>(_C)); }
template<class _E, class _Tr> inline
	basic_istream<_E, _Tr>& operator>>(
		basic_istream<_E, _Tr>& _I, const _Fillobj<_E>& _X)
		{_I.fill(_X._Ch);
		return (_I); }
template<class _E, class _Tr> inline
	basic_ostream<_E, _Tr>& operator<<(
		basic_ostream<_E, _Tr>& _O, const _Fillobj<_E>& _X)
		{_O.fill(_X._Ch);
		return (_O); }
		// TEMPLATE STRUCT _Smanip
template<class _Tm>
	struct _Smanip {
	_Smanip(void (*_F)(ios_base&, _Tm), _Tm _A)
		: _Pf(_F), _Manarg(_A) {}
	void (*_Pf)(ios_base&, _Tm);
	_Tm _Manarg;
	};
template<class _E, class _Tr, class _Tm> inline
	basic_istream<_E, _Tr>& operator>>(
		basic_istream<_E, _Tr>& _I, const _Smanip<_Tm>& _M)
	{(*_M._Pf)(_I, _M._Manarg);
	return (_I); }
template<class _E, class _Tr, class _Tm> inline
	basic_ostream<_E, _Tr>& operator<<(
		basic_ostream<_E, _Tr>& _O, const _Smanip<_Tm>& _M)
	{(*_M._Pf)(_O, _M._Manarg);
	return (_O); }
		// INSTANTIATIONS
_Smanip<ios_base::fmtflags>
	resetiosflags(ios_base::fmtflags);
_Smanip<ios_base::fmtflags>
	setiosflags(ios_base::fmtflags);
_Smanip<int> setbase(int);
_Smanip<streamsize> setprecision(streamsize);
_Smanip<streamsize> setw(streamsize);
_STD_END

#pragma namemangling()

#pragma info(none)
#ifndef __CHKHDR__
#  pragma report(pop)
#endif
#pragma info(restore)

#endif /* _IOMANIP_ */

/*
 * Copyright (c) 1994 by P.J. Plauger.  ALL RIGHTS RESERVED. 
 * Consult your license regarding permissions and restrictions.
V2.2:0081 */
