• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2    Copyright (c) Marshall Clow 2012-2012.
3 
4    Distributed under the Boost Software License, Version 1.0. (See accompanying
5    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 
7     For more information, see http://www.boost.org
8 
9     Based on the StringRef implementation in LLVM (http://llvm.org) and
10     N3422 by Jeffrey Yasskin
11         http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html
12 
13 */
14 
15 #ifndef BOOST_STRING_REF_FWD_HPP
16 #define BOOST_STRING_REF_FWD_HPP
17 
18 #include <boost/config.hpp>
19 #include <string>
20 
21 namespace boost {
22 
23     template<typename charT, typename traits = std::char_traits<charT> > class basic_string_ref;
24     typedef basic_string_ref<char,     std::char_traits<char> >        string_ref;
25     typedef basic_string_ref<wchar_t,  std::char_traits<wchar_t> >    wstring_ref;
26 
27 #ifndef BOOST_NO_CXX11_CHAR16_T
28     typedef basic_string_ref<char16_t, std::char_traits<char16_t> > u16string_ref;
29 #endif
30 
31 #ifndef BOOST_NO_CXX11_CHAR32_T
32     typedef basic_string_ref<char32_t, std::char_traits<char32_t> > u32string_ref;
33 #endif
34 
35 }
36 
37 #endif
38