Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/exception/errinfo_api_function.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
| author | Chris Cannam |
|---|---|
| date | Tue, 30 Jul 2019 12:25:44 +0100 |
| parents | 2665513ce2d3 |
| children |
| rev | line source |
|---|---|
| Chris@16 | 1 //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. |
| Chris@16 | 2 |
| Chris@16 | 3 //Distributed under the Boost Software License, Version 1.0. (See accompanying |
| Chris@16 | 4 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| Chris@16 | 5 |
| Chris@16 | 6 #ifndef UUID_DDFBB4546C1211DEA4659E9055D89593 |
| Chris@16 | 7 #define UUID_DDFBB4546C1211DEA4659E9055D89593 |
| Chris@16 | 8 |
| Chris@16 | 9 #include "boost/exception/error_info.hpp" |
| Chris@16 | 10 |
| Chris@16 | 11 namespace |
| Chris@16 | 12 boost |
| Chris@16 | 13 { |
| Chris@16 | 14 //Usage hint: |
| Chris@16 | 15 //if( api_function(....)!=0 ) |
| Chris@16 | 16 // BOOST_THROW_EXCEPTION( |
| Chris@16 | 17 // failure() << |
| Chris@16 | 18 // errinfo_api_function("api_function") ); |
| Chris@16 | 19 typedef error_info<struct errinfo_api_function_,char const *> errinfo_api_function; |
| Chris@16 | 20 } |
| Chris@16 | 21 |
| Chris@16 | 22 #endif |
