Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/utility/string_ref_fwd.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DEPENDENCIES/generic/include/boost/utility/string_ref_fwd.hpp Tue Aug 05 11:11:38 2014 +0100 @@ -0,0 +1,37 @@ +/* + Copyright (c) Marshall Clow 2012-2012. + + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + + For more information, see http://www.boost.org + + Based on the StringRef implementation in LLVM (http://llvm.org) and + N3422 by Jeffrey Yasskin + http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html + +*/ + +#ifndef BOOST_STRING_REF_FWD_HPP +#define BOOST_STRING_REF_FWD_HPP + +#include <boost/config.hpp> +#include <string> + +namespace boost { + + template<typename charT, typename traits = std::char_traits<charT> > class basic_string_ref; + typedef basic_string_ref<char, std::char_traits<char> > string_ref; + typedef basic_string_ref<wchar_t, std::char_traits<wchar_t> > wstring_ref; + +#ifndef BOOST_NO_CXX11_CHAR16_T + typedef basic_string_ref<char16_t, std::char_traits<char16_t> > u16string_ref; +#endif + +#ifndef BOOST_NO_CXX11_CHAR32_T + typedef basic_string_ref<char32_t, std::char_traits<char32_t> > u32string_ref; +#endif + +} + +#endif