annotate DEPENDENCIES/generic/include/boost/format/format_fwd.hpp @ 133:4acb5d8d80b6
tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author |
Chris Cannam |
date |
Tue, 30 Jul 2019 12:25:44 +0100 |
parents |
c530137014c0 |
children |
|
rev |
line source |
Chris@16
|
1 // ----------------------------------------------------------------------------
|
Chris@16
|
2 // format_fwd.hpp : forward declarations
|
Chris@16
|
3 // ----------------------------------------------------------------------------
|
Chris@16
|
4
|
Chris@16
|
5 // Copyright Samuel Krempp 2003. Use, modification, and distribution are
|
Chris@16
|
6 // subject to the Boost Software License, Version 1.0. (See accompanying
|
Chris@16
|
7 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
8
|
Chris@16
|
9 // See http://www.boost.org/libs/format for library home page
|
Chris@16
|
10
|
Chris@16
|
11 // ----------------------------------------------------------------------------
|
Chris@16
|
12
|
Chris@16
|
13 #ifndef BOOST_FORMAT_FWD_HPP
|
Chris@16
|
14 #define BOOST_FORMAT_FWD_HPP
|
Chris@16
|
15
|
Chris@16
|
16 #include <string>
|
Chris@16
|
17 #include <iosfwd>
|
Chris@16
|
18
|
Chris@16
|
19 #include <boost/format/detail/compat_workarounds.hpp>
|
Chris@16
|
20
|
Chris@16
|
21 namespace boost {
|
Chris@16
|
22
|
Chris@16
|
23 template <class Ch,
|
Chris@101
|
24 class Tr = BOOST_IO_STD char_traits<Ch>, class Alloc = std::allocator<Ch> >
|
Chris@16
|
25 class basic_format;
|
Chris@16
|
26
|
Chris@16
|
27 typedef basic_format<char > format;
|
Chris@16
|
28
|
Chris@101
|
29 #if !defined(BOOST_NO_STD_WSTRING) && !defined(BOOST_NO_STD_WSTREAMBUF)
|
Chris@16
|
30 typedef basic_format<wchar_t > wformat;
|
Chris@16
|
31 #endif
|
Chris@16
|
32
|
Chris@16
|
33 namespace io {
|
Chris@16
|
34 enum format_error_bits { bad_format_string_bit = 1,
|
Chris@16
|
35 too_few_args_bit = 2, too_many_args_bit = 4,
|
Chris@16
|
36 out_of_range_bit = 8,
|
Chris@16
|
37 all_error_bits = 255, no_error_bits=0 };
|
Chris@16
|
38
|
Chris@16
|
39 } // namespace io
|
Chris@16
|
40
|
Chris@16
|
41 } // namespace boost
|
Chris@16
|
42
|
Chris@16
|
43 #endif // BOOST_FORMAT_FWD_HPP
|