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