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/detail/workaround.hpp> |
20 | |
21 | namespace boost { |
22 | |
23 | namespace unit_test { |
24 | |
25 | template<typename CharT> class basic_cstring; |
26 | typedef basic_cstring<char const> const_string; |
27 | #if BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590041)) |
28 | typedef const_string literal_string; |
29 | #else |
30 | typedef const_string const literal_string; |
31 | #endif |
32 | |
33 | typedef char const* const c_literal_string; |
34 | |
35 | } // namespace unit_test |
36 | |
37 | } // namespace boost |
38 | |
39 | #endif // BOOST_TEST_UTILS_BASIC_CSTRING_FWD_HPP |
40 | |
41 | |