source: mainline/uspace/lib/cpp/include/__bits/io/iomanip.hpp@ 34b2f54d

Last change on this file since 34b2f54d was b57ba05, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 4 years ago

Update headers in C++ files

  • Property mode set to 100644
File size: 846 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2018 Jaroslav Jindrak
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef LIBCPP_BITS_IO_IOMANIP
8#define LIBCPP_BITS_IO_IOMANIP
9
10#include <__bits/io/iomanip_objs.hpp>
11#include <iosfwd>
12
13namespace std
14{
15 /**
16 * 27.7.4, standard manipulators:
17 */
18
19 aux::manip_wrapper<aux::resetiosflags_t> resetiosflags(ios_base::fmtflags mask);
20 aux::manip_wrapper<aux::setiosflags_t> setiosflags(ios_base::fmtflags mask);
21 aux::manip_wrapper<aux::setbase_t> setbase(int base);
22
23 template<class Char>
24 aux::setfill_t<Char> setfill(Char c)
25 {
26 return aux::setfill_t<Char>{c};
27 }
28
29 aux::manip_wrapper<aux::setprecision_t> setprecision(int prec);
30 aux::manip_wrapper<aux::setw_t> setw(int width);
31
32 /**
33 * 27.7.5, extended manipulators:
34 */
35
36 // TODO: implement
37}
38
39#endif
Note: See TracBrowser for help on using the repository browser.