]>
Commit | Line | Data |
---|---|---|
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_FEE5120A6C1211DE94E8BC9155D89593 | |
7 | #define UUID_FEE5120A6C1211DE94E8BC9155D89593 | |
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_name_,std::string> errinfo_file_name; | |
24 | } | |
25 | ||
26 | #endif |