From: Lisa Glendenning (lisa_at_[hidden])
Date: 2005-08-17 15:02:35


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
}

Thanks,
Lisa Glendenning