Boost logo

Boost Users :

From: Marius Renn (marv_at_[hidden])
Date: 2005-09-16 09:02:54


Hi all,
This is my first post, so please let me know if I am doing anything
wrong.

I am having trouble using the new iostream headers in Boost 3.3. I
cannot get simple Sinks to function correctly. Take the following code
for example:

namespace bio = boost::iostreams;

int main()
{
   typedef bio::stream<bio::null_sink> nullsink;

   nullsink out;
   out << "Ignore me";
}

This code always results in a runtime assertion failure:
   /usr/local/include/boost/iostreams/detail/optional.hpp:54: failed
assertion `initialized_'

What am I doing wrong? Any help would be greatly appreciated.

Cheers,
Marius



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net