]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/27_io/headers/ios/synopsis.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / headers / ios / synopsis.cc
1 // { dg-do compile }
2 // { dg-require-normal-namespace "" }
3
4 // Copyright (C) 2007-2021 Free Software Foundation, Inc.
5 //
6 // This file is part of the GNU ISO C++ Library. This library is free
7 // software; you can redistribute it and/or modify it under the
8 // terms of the GNU General Public License as published by the
9 // Free Software Foundation; either version 3, or (at your option)
10 // any later version.
11
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16
17 // You should have received a copy of the GNU General Public License along
18 // with this library; see the file COPYING3. If not see
19 // <http://www.gnu.org/licenses/>.
20
21 #include <ios>
22
23 namespace std {
24 #if 0
25 typedef OFF_T streamoff;
26 typedef SZ_T streamsize;
27 #endif
28
29 template <class stateT> class fpos;
30 class ios_base;
31 template <class charT, class traits>
32 class basic_ios;
33
34 // 27.4.5, manipulators:
35 ios_base& boolalpha (ios_base& str);
36 ios_base& noboolalpha(ios_base& str);
37 ios_base& showbase (ios_base& str);
38 ios_base& noshowbase (ios_base& str);
39 ios_base& showpoint (ios_base& str);
40 ios_base& noshowpoint(ios_base& str);
41 ios_base& showpos (ios_base& str);
42 ios_base& noshowpos (ios_base& str);
43 ios_base& skipws (ios_base& str);
44 ios_base& noskipws (ios_base& str);
45 ios_base& uppercase (ios_base& str);
46 ios_base& nouppercase(ios_base& str);
47 ios_base& unitbuf (ios_base& str);
48 ios_base& nounitbuf (ios_base& str);
49 // 27.4.5.2 adjustfield:
50 ios_base& internal (ios_base& str);
51 ios_base& left (ios_base& str);
52 ios_base& right (ios_base& str);
53 // 27.4.5.3 basefield:
54 ios_base& dec (ios_base& str);
55 ios_base& hex (ios_base& str);
56 ios_base& oct (ios_base& str);
57 // 27.4.5.4 floatfield:
58 ios_base& fixed (ios_base& str);
59 ios_base& scientific (ios_base& str);
60 }