]> git.lyx.org Git - lyx.git/blob - boost/boost/exception/errinfo_api_function.hpp
boost: update to version 1.40
[lyx.git] / boost / boost / exception / errinfo_api_function.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_DDFBB4546C1211DEA4659E9055D89593\r
7 #define UUID_DDFBB4546C1211DEA4659E9055D89593\r
8 \r
9 #include "boost/exception/error_info.hpp"\r
10 \r
11 namespace\r
12 boost\r
13     {\r
14     //Usage hint:\r
15     //if( api_function(....)!=0 )\r
16     //    BOOST_THROW_EXCEPTION(\r
17     //        failure() <<\r
18     //        errinfo_api_function("api_function") );\r
19     typedef error_info<struct errinfo_api_function_,char const *> errinfo_api_function;\r
20     }\r
21 \r
22 #endif\r