File indexing completed on 2025-01-30 09:35:41
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef BOOST_FORMAT_FWD_HPP
0014 #define BOOST_FORMAT_FWD_HPP
0015
0016 #include <string>
0017 #include <iosfwd>
0018
0019 #include <boost/format/detail/compat_workarounds.hpp>
0020
0021 namespace boost {
0022
0023 template <class Ch,
0024 class Tr = BOOST_IO_STD char_traits<Ch>, class Alloc = std::allocator<Ch> >
0025 class basic_format;
0026
0027 typedef basic_format<char > format;
0028
0029 #if !defined(BOOST_NO_STD_WSTRING) && !defined(BOOST_NO_STD_WSTREAMBUF)
0030 typedef basic_format<wchar_t > wformat;
0031 #endif
0032
0033 namespace io {
0034 enum format_error_bits { bad_format_string_bit = 1,
0035 too_few_args_bit = 2, too_many_args_bit = 4,
0036 out_of_range_bit = 8,
0037 all_error_bits = 255, no_error_bits=0 };
0038
0039 }
0040
0041 }
0042
0043 #endif