STL/stl/inc/cwctype

73 строки
1.7 KiB
C++
Исходник Обычный вид История

// cwctype standard header (core)
2019-09-05 01:57:56 +03:00
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#ifndef _CWCTYPE_
#define _CWCTYPE_
#include <yvals_core.h>
2019-09-05 01:57:56 +03:00
#if _STL_COMPILER_PREPROCESSOR
#include <wctype.h>
#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
#pragma warning(disable : _STL_DISABLED_WARNINGS)
_STL_DISABLE_CLANG_WARNINGS
#pragma push_macro("new")
#undef new
2022-04-04 23:13:16 +03:00
// TRANSITION, /clr:pure (see corecrt_wctype.h): remove any (improper) macro overrides
2019-09-05 01:57:56 +03:00
#undef iswalnum
#undef iswalpha
#undef iswblank
#undef iswcntrl
#undef iswctype
#undef iswdigit
#undef iswgraph
#undef iswlower
#undef iswprint
#undef iswpunct
#undef iswspace
#undef iswupper
#undef iswxdigit
#undef towctrans
#undef towlower
#undef towupper
#undef wctrans
#undef wctype
_STD_BEGIN
_EXPORT_STD using _CSTD wint_t;
_EXPORT_STD using _CSTD wctrans_t;
_EXPORT_STD using _CSTD wctype_t;
2019-09-05 01:57:56 +03:00
_EXPORT_STD using _CSTD iswalnum;
_EXPORT_STD using _CSTD iswalpha;
_EXPORT_STD using _CSTD iswcntrl;
_EXPORT_STD using _CSTD iswctype;
_EXPORT_STD using _CSTD iswdigit;
_EXPORT_STD using _CSTD iswgraph;
_EXPORT_STD using _CSTD iswlower;
_EXPORT_STD using _CSTD iswprint;
_EXPORT_STD using _CSTD iswpunct;
_EXPORT_STD using _CSTD iswspace;
_EXPORT_STD using _CSTD iswupper;
_EXPORT_STD using _CSTD iswxdigit;
_EXPORT_STD using _CSTD towctrans;
_EXPORT_STD using _CSTD towlower;
_EXPORT_STD using _CSTD towupper;
_EXPORT_STD using _CSTD wctrans;
_EXPORT_STD using _CSTD wctype;
2019-09-05 01:57:56 +03:00
_EXPORT_STD using _CSTD iswblank;
2019-09-05 01:57:56 +03:00
_STD_END
#pragma pop_macro("new")
_STL_RESTORE_CLANG_WARNINGS
#pragma warning(pop)
#pragma pack(pop)
#endif // _STL_COMPILER_PREPROCESSOR
#endif // _CWCTYPE_