5 * This material is provided "as is", with absolutely no warranty expressed
6 * or implied. Any use is at your own risk.
8 * Permission to use or copy this software for any purpose is hereby granted
9 * without fee, provided the above notices are retained on all copies.
10 * Permission to modify the code and to distribute modified code is granted,
11 * provided the above notices are retained, and a notice that the code was
12 * modified is included with the above copyright notice.
16 #ifndef _STLP_IOMANIP_H
17 # define _STLP_IOMANIP_H
19 # ifndef _STLP_OUTERMOST_HEADER_ID
20 # define _STLP_OUTERMOST_HEADER_ID 0x2031
21 # include <stl/_prolog.h>
24 # if defined ( _STLP_OWN_IOSTREAMS )
32 # ifndef _STLP_HAS_NO_NAMESPACES
33 # ifdef _STLP_BROKEN_USING_DIRECTIVE
34 using namespace _STLP_STD;
36 using _STLP_STD::setiosflags;
37 using _STLP_STD::resetiosflags;
38 using _STLP_STD::setbase;
39 using _STLP_STD::setfill;
40 using _STLP_STD::setprecision;
41 using _STLP_STD::setw;
43 # endif /* _STLP_HAS_NO_NAMESPACES */
45 // get all the pollution we want
46 # include <iostream.h>
48 # elif !defined (_STLP_USE_NO_IOSTREAMS)
50 # include _STLP_NATIVE_OLD_STREAMS_HEADER(iomanip.h)
52 # if defined (_STLP_USE_NAMESPACES) && ! defined (_STLP_BROKEN_USING_DIRECTIVE)
54 # include <using/h/iomanip.h>
56 # endif /* _STLP_USE_NAMESPACES */
60 # if (_STLP_OUTERMOST_HEADER_ID == 0x2031)
61 # include <stl/_epilog.h>
62 # undef _STLP_OUTERMOST_HEADER_ID
65 #endif /* _STLP_IOMANIP_H */