| 1 | // (C) Copyright Gennadiy Rozental 2001. |
| 2 | // Distributed under the Boost Software License, Version 1.0. |
| 3 | // (See accompanying file LICENSE_1_0.txt or copy at |
| 4 | // http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | // See http://www.boost.org/libs/test for the library home page. |
| 7 | // |
| 8 | // File : $RCSfile$ |
| 9 | // |
| 10 | // Version : $Revision$ |
| 11 | // |
| 12 | // Description : basic_cstring class wrap C string and provide std_string like |
| 13 | // interface |
| 14 | // *************************************************************************** |
| 15 | |
| 16 | #ifndef BOOST_TEST_UTILS_BASIC_CSTRING_FWD_HPP |
| 17 | #define BOOST_TEST_UTILS_BASIC_CSTRING_FWD_HPP |
| 18 | |
| 19 | #include <boost/test/detail/config.hpp> |
| 20 | |
| 21 | |
| 22 | namespace boost { |
| 23 | |
| 24 | namespace unit_test { |
| 25 | |
| 26 | template<typename CharT> class BOOST_SYMBOL_VISIBLE basic_cstring; |
| 27 | typedef basic_cstring<char const> const_string; |
| 28 | #if BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590041)) |
| 29 | typedef const_string literal_string; |
| 30 | #else |
| 31 | typedef const_string const literal_string; |
| 32 | #endif |
| 33 | |
| 34 | typedef char const* const c_literal_string; |
| 35 | |
| 36 | #if defined(BOOST_TEST_STRING_VIEW) |
| 37 | template <class CharT, class string_view_t> |
| 38 | class BOOST_SYMBOL_VISIBLE stringview_cstring_helper; |
| 39 | #endif |
| 40 | |
| 41 | |
| 42 | } // namespace unit_test |
| 43 | |
| 44 | } // namespace boost |
| 45 | |
| 46 | #endif // BOOST_TEST_UTILS_BASIC_CSTRING_FWD_HPP |
| 47 | |