$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-08-18 14:09:56
Lisa Glendenning wrote:
> Hello,
> I just recently began using the boost iostreams library, and I can't
> figure out a way to see if a file has been successfully opened.
> E.g., I would like to reproduce this behavior:
>
> std::ofstream file("filename");
> if(!file) {
> // error opening file
> }
This is an oversight. Someone pointed this out before the release (he may even
have sent a patch) but it was after the feature freeze.
I'll post a patch in a few days. If you like, I'll send you an email when it's
available.
> Thanks,
> Lisa Glendenning
Jonathan