diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-09-11T10·23+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-09-11T10·23+0000 |
commit | 1c7d6bf5fcddae13b6226d61fe60cfccb8d2c359 (patch) | |
tree | 777ecaa6e71cd874243d6661a6b698715c4062d0 /boost/format/format_fwd.hpp | |
parent | d930a9bc5a69b33dc7fe707838ccdd72e89f8079 (diff) |
* Removed references to char_traits so that boost/format also works on
GCC 2.95.
Diffstat (limited to 'boost/format/format_fwd.hpp')
-rw-r--r-- | boost/format/format_fwd.hpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/boost/format/format_fwd.hpp b/boost/format/format_fwd.hpp index bad2f7238537..97c55f6684c3 100644 --- a/boost/format/format_fwd.hpp +++ b/boost/format/format_fwd.hpp @@ -24,13 +24,9 @@ namespace boost { -template<class charT, class Traits = BOOST_IO_STD char_traits<charT> > class basic_format; +class basic_format; -typedef basic_format<char > format; - -#if !defined(BOOST_NO_STD_WSTRING) && !defined(BOOST_NO_STD_WSTREAMBUF) -typedef basic_format<wchar_t > wformat; -#endif +typedef basic_format format; namespace io { enum format_error_bits { bad_format_string_bit = 1, @@ -39,15 +35,13 @@ enum format_error_bits { bad_format_string_bit = 1, all_error_bits = 255, no_error_bits=0 }; // Convertion: format to string -template<class Ch, class Tr> -std::basic_string<Ch, Tr> str(const basic_format<Ch, Tr>& ) ; +std::string str(const basic_format& ) ; } // namespace io -template< class Ch, class Tr> -BOOST_IO_STD basic_ostream<Ch, Tr>& -operator<<( BOOST_IO_STD basic_ostream<Ch, Tr>&, const basic_format<Ch, Tr>&); +BOOST_IO_STD ostream& +operator<<( BOOST_IO_STD ostream&, const basic_format&); } // namespace boost |