boost_no_cxx17_hdr_string_view.ipp 694 B

1234567891011121314151617181920212223242526
  1. // (C) Copyright John Maddock 2018
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/config for more information.
  6. // MACRO: BOOST_NO_CXX17_HDR_STRING_VIEW
  7. // TITLE: C++17 header <string_view> unavailable
  8. // DESCRIPTION: The standard library does not supply C++17 header <string_view>
  9. #include <string_view>
  10. namespace boost_no_cxx17_hdr_string_view {
  11. int test()
  12. {
  13. using std::string_view;
  14. using std::wstring_view;
  15. using std::u16string_view;
  16. using std::u32string_view;
  17. return 0;
  18. }
  19. }