Minor fix in libs/exception/example/example_io.cpp.

[SVN r54840]
This commit is contained in:
Emil Dotchevski
2009-07-09 18:52:35 +00:00
parent 33bfe0bf65
commit a674ec2bb9
2 changed files with 3315 additions and 3316 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,10 @@
//The output from this program can vary depending on the platform. //The output from this program can vary depending on the platform.
#include <boost/exception.hpp> #include <boost/throw_exception.hpp>
#include <boost/exception/info.hpp>
#include <boost/exception/get_error_info.hpp>
#include <boost/exception/diagnostic_information.hpp>
#include <boost/exception/errinfo_file_open_mode.hpp> #include <boost/exception/errinfo_file_open_mode.hpp>
#include <boost/exception/errinfo_file_handle.hpp> #include <boost/exception/errinfo_file_handle.hpp>
#include <boost/exception/errinfo_file_name.hpp> #include <boost/exception/errinfo_file_name.hpp>
@ -16,11 +19,7 @@
#include <boost/exception/errinfo_errno.hpp> #include <boost/exception/errinfo_errno.hpp>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp> #include <boost/weak_ptr.hpp>
#include <stdio.h>
#include <errno.h>
#include <string>
#include <iostream> #include <iostream>
#include <sstream>
typedef boost::error_info<struct tag_file_name_src,std::string> errinfo_src_file_name; typedef boost::error_info<struct tag_file_name_src,std::string> errinfo_src_file_name;
typedef boost::error_info<struct tag_file_name_dst,std::string> errinfo_dst_file_name; typedef boost::error_info<struct tag_file_name_dst,std::string> errinfo_dst_file_name;