2019-09-05 01:57:56 +03:00
|
|
|
// string_view standard header
|
|
|
|
|
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#ifndef _STRING_VIEW_
|
|
|
|
#define _STRING_VIEW_
|
|
|
|
#include <yvals.h>
|
|
|
|
#if _STL_COMPILER_PREPROCESSOR
|
|
|
|
|
2019-11-06 00:12:34 +03:00
|
|
|
#if !_HAS_CXX17
|
|
|
|
#pragma message("The contents of <string_view> are available only with C++17 or later.")
|
|
|
|
#else // ^^^ !_HAS_CXX17 / _HAS_CXX17 vvv
|
2019-09-05 01:57:56 +03:00
|
|
|
#include <xstring>
|
|
|
|
#endif // _HAS_CXX17
|
|
|
|
#endif // _STL_COMPILER_PREPROCESSOR
|
|
|
|
#endif // _STRING_VIEW_
|