basic_cstring_fwd.hpp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. // See http://www.boost.org/libs/test for the library home page.
  6. //
  7. // File : $RCSfile$
  8. //
  9. // Version : $Revision$
  10. //
  11. // Description : basic_cstring class wrap C string and provide std_string like
  12. // interface
  13. // ***************************************************************************
  14. #ifndef BOOST_TEST_UTILS_BASIC_CSTRING_FWD_HPP
  15. #define BOOST_TEST_UTILS_BASIC_CSTRING_FWD_HPP
  16. #include <boost/test/detail/config.hpp>
  17. namespace boost {
  18. namespace unit_test {
  19. template<typename CharT> class BOOST_SYMBOL_VISIBLE basic_cstring;
  20. typedef basic_cstring<char const> const_string;
  21. #if BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590041))
  22. typedef const_string literal_string;
  23. #else
  24. typedef const_string const literal_string;
  25. #endif
  26. typedef char const* const c_literal_string;
  27. #if defined(BOOST_TEST_STRING_VIEW)
  28. template <class CharT, class string_view_t>
  29. class BOOST_SYMBOL_VISIBLE stringview_cstring_helper;
  30. #endif
  31. } // namespace unit_test
  32. } // namespace boost
  33. #endif // BOOST_TEST_UTILS_BASIC_CSTRING_FWD_HPP