annotate DEPENDENCIES/generic/include/boost/log/utility/string_literal_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 string_literal_fwd.hpp
Chris@16 9 * \author Andrey Semashev
Chris@16 10 * \date 24.06.2007
Chris@16 11 *
Chris@16 12 * The header contains forward declaration of a constant string literal wrapper.
Chris@16 13 */
Chris@16 14
Chris@16 15 #ifndef BOOST_LOG_UTILITY_STRING_LITERAL_FWD_HPP_INCLUDED_
Chris@16 16 #define BOOST_LOG_UTILITY_STRING_LITERAL_FWD_HPP_INCLUDED_
Chris@16 17
Chris@16 18 #include <string>
Chris@16 19 #include <boost/log/detail/config.hpp>
Chris@16 20
Chris@16 21 #ifdef BOOST_HAS_PRAGMA_ONCE
Chris@16 22 #pragma once
Chris@16 23 #endif
Chris@16 24
Chris@16 25 namespace boost {
Chris@16 26
Chris@16 27 BOOST_LOG_OPEN_NAMESPACE
Chris@16 28
Chris@16 29 /*!
Chris@16 30 * \brief String literal wrapper
Chris@16 31 *
Chris@16 32 * The \c basic_string_literal is a thin wrapper around a constant string literal.
Chris@16 33 * It provides interface similar to STL strings, but because of read-only nature
Chris@16 34 * of string literals, lacks ability to modify string contents. However,
Chris@16 35 * \c basic_string_literal objects can be assigned to and cleared.
Chris@16 36 *
Chris@16 37 * The main advantage of this class comparing to other string classes is that
Chris@16 38 * it doesn't dynamically allocate memory and therefore is fast, thin and exception safe.
Chris@16 39 */
Chris@16 40 template< typename CharT, typename TraitsT = std::char_traits< CharT > >
Chris@16 41 class basic_string_literal;
Chris@16 42
Chris@16 43 // Convenience typedefs
Chris@16 44 #ifdef BOOST_LOG_USE_CHAR
Chris@16 45 typedef basic_string_literal< char > string_literal; //!< String literal type for narrow characters
Chris@16 46 #endif
Chris@16 47 #ifdef BOOST_LOG_USE_WCHAR_T
Chris@16 48 typedef basic_string_literal< wchar_t > wstring_literal; //!< String literal type for wide characters
Chris@16 49 #endif
Chris@16 50
Chris@16 51 BOOST_LOG_CLOSE_NAMESPACE // namespace log
Chris@16 52
Chris@16 53 } // namespace boost
Chris@16 54
Chris@16 55 #endif // BOOST_LOG_UTILITY_STRING_LITERAL_FWD_HPP_INCLUDED_