1// ----------------------------------------------------------------------------
2// format_fwd.hpp : forward declarations
3// ----------------------------------------------------------------------------
4
5// Copyright Samuel Krempp 2003. Use, modification, and distribution are
6// subject to the Boost Software License, Version 1.0. (See accompanying
7// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8
9// See http://www.boost.org/libs/format for library home page
10
11// ----------------------------------------------------------------------------
12
13#ifndef BOOST_FORMAT_FWD_HPP
14#define BOOST_FORMAT_FWD_HPP
15
16#include <string>
17#include <iosfwd>
18
19#include <boost/format/detail/compat_workarounds.hpp>
20
21namespace boost {
22
23 template <class Ch,
24 class Tr = BOOST_IO_STD char_traits<Ch>, class Alloc = std::allocator<Ch> >
25 class basic_format;
26
27 typedef basic_format<char > format;
28
29#if !defined(BOOST_NO_STD_WSTRING) && !defined(BOOST_NO_STD_WSTREAMBUF)
30 typedef basic_format<wchar_t > wformat;
31#endif
32
33 namespace io {
34 enum format_error_bits { bad_format_string_bit = 1,
35 too_few_args_bit = 2, too_many_args_bit = 4,
36 out_of_range_bit = 8,
37 all_error_bits = 255, no_error_bits=0 };
38
39 } // namespace io
40
41} // namespace boost
42
43#endif // BOOST_FORMAT_FWD_HPP
44

source code of include/boost/format/format_fwd.hpp