Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:35:41

0001 // ----------------------------------------------------------------------------
0002 //  format_fwd.hpp :  forward declarations
0003 // ----------------------------------------------------------------------------
0004 
0005 //  Copyright Samuel Krempp 2003. Use, modification, and distribution are
0006 //  subject to the Boost Software License, Version 1.0. (See accompanying
0007 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 //  See http://www.boost.org/libs/format for library home page
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     } // namespace io
0040 
0041 } // namespace boost
0042 
0043 #endif // BOOST_FORMAT_FWD_HPP