id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1727,"Sample code in documentation does not compile, has namespace errors.",Mukkarum.Amin@…,Jonathan Turkanis,"The example code at the very end of this [http://www.boost.org/libs/iostreams/doc/classes/bzip2.html] page which decompresses data from a file and writes it to standard out is erroneous and does not compile. The boost::iostream namespace is not specified. The code should be as follows, I have verified that it compiles and runs properly: {{{ int main(int argc, char** argv) { using namespace std; using namespace boost::iostreams; ifstream file(""hello.bz2"", ios_base::in | ios_base::binary); filtering_streambuf in; in.push(bzip2_decompressor()); in.push(file); copy(in, cout); return 0; } }}}",Bugs,closed,,iostreams,,Problem,fixed,Documentation error,