]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/exception/include/boost/exception/errinfo_file_open_mode.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / exception / include / boost / exception / errinfo_file_open_mode.hpp
1 //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
2
3 //Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #ifndef UUID_056F1F266C1311DE8E74299255D89593
7 #define UUID_056F1F266C1311DE8E74299255D89593
8
9 #include <string>
10
11 namespace
12 boost
13 {
14 template <class Tag,class T> class error_info;
15
16 //Usage hint:
17 //FILE * f=fopen(name,mode);
18 //if( !f )
19 // BOOST_THROW_EXCEPTION(
20 // file_open_error() <<
21 // errinfo_file_name(name) <<
22 // errinfo_file_open_mode(mode) );
23 typedef error_info<struct errinfo_file_open_mode_,std::string> errinfo_file_open_mode;
24 }
25
26 #endif