Boost logo

Boost :

From: Guillaume Melquiond (guillaume.melquiond_at_[hidden])
Date: 2004-02-04 11:30:18


Hi,

The Format headers in the main CVS are missing some #include for I/O
streams. For example, if you try to compile this snippet:

#include <boost/format.hpp>
#include <string>
int main() { std::string a = (boost::format("%1%") % 0).str(); }

GCC will complain that

error: base class `std::basic_ostream<char, std::char_traits<char> >'
has incomplete type

Regards,

Guillaume


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk