Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 1 | // (C) Copyright Gennadiy Rozental 2004-2008. |
| 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: 49312 $ |
| 11 | // |
| 12 | // Description : basic_cstring class wrap C string and provide std_string like |
| 13 | // interface |
| 14 | // *************************************************************************** |
| 15 | |
| 16 | #ifndef BOOST_TEST_BASIC_CSTRING_FWD_HPP_071894GER |
| 17 | #define BOOST_TEST_BASIC_CSTRING_FWD_HPP_071894GER |
| 18 | |
| 19 | #include <ndnboost/detail/workaround.hpp> |
| 20 | |
| 21 | namespace ndnboost { |
| 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 ndnboost |
| 38 | |
| 39 | #endif // BOOST_TEST_BASIC_CSTRING_FWD_HPP_071894GER |
| 40 | |