Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/log/attributes/fallback_policy_fwd.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 | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 /* |
Chris@101 | 2 * Copyright Andrey Semashev 2007 - 2015. |
Chris@16 | 3 * Distributed under the Boost Software License, Version 1.0. |
Chris@16 | 4 * (See accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 5 * http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 6 */ |
Chris@16 | 7 /*! |
Chris@16 | 8 * \file fallback_policy_fwd.hpp |
Chris@16 | 9 * \author Andrey Semashev |
Chris@16 | 10 * \date 18.08.2012 |
Chris@16 | 11 * |
Chris@16 | 12 * The header contains forward declaration of fallback policies when attribute value visitation or extraction fails. |
Chris@16 | 13 */ |
Chris@16 | 14 |
Chris@16 | 15 #ifndef BOOST_LOG_ATTRIBUTES_FALLBACK_POLICY_FWD_HPP_INCLUDED_ |
Chris@16 | 16 #define BOOST_LOG_ATTRIBUTES_FALLBACK_POLICY_FWD_HPP_INCLUDED_ |
Chris@16 | 17 |
Chris@16 | 18 #include <boost/log/detail/config.hpp> |
Chris@16 | 19 |
Chris@16 | 20 #ifdef BOOST_HAS_PRAGMA_ONCE |
Chris@16 | 21 #pragma once |
Chris@16 | 22 #endif |
Chris@16 | 23 |
Chris@16 | 24 namespace boost { |
Chris@16 | 25 |
Chris@16 | 26 BOOST_LOG_OPEN_NAMESPACE |
Chris@16 | 27 |
Chris@16 | 28 /*! |
Chris@16 | 29 * The \c fallback_to_none policy results in returning an empty value reference if the attribute value cannot be extracted. |
Chris@16 | 30 */ |
Chris@16 | 31 struct fallback_to_none; |
Chris@16 | 32 |
Chris@16 | 33 /*! |
Chris@16 | 34 * The \c fallback_to_throw policy results in throwing an exception if the attribute value cannot be extracted. |
Chris@16 | 35 */ |
Chris@16 | 36 struct fallback_to_throw; |
Chris@16 | 37 |
Chris@16 | 38 /*! |
Chris@16 | 39 * The \c fallback_to_default policy results in a default value if the attribute value cannot be extracted. |
Chris@16 | 40 */ |
Chris@16 | 41 template< typename DefaultT > |
Chris@16 | 42 struct fallback_to_default; |
Chris@16 | 43 |
Chris@16 | 44 BOOST_LOG_CLOSE_NAMESPACE // namespace log |
Chris@16 | 45 |
Chris@16 | 46 } // namespace boost |
Chris@16 | 47 |
Chris@16 | 48 #endif // BOOST_LOG_ATTRIBUTES_FALLBACK_POLICY_FWD_HPP_INCLUDED_ |