10 #pragma pack(push,_CRT_PACKING)
11 #pragma push_macro("new")
14 #define _CPPLIB_VER 650
16 #ifndef _HAS_VARIABLE_TEMPLATES
18 #define _HAS_VARIABLE_TEMPLATES 0 // TRANSITION
20 #define _HAS_VARIABLE_TEMPLATES 1
25 #define _NOEXCEPT noexcept
26 #define _NOEXCEPT_OP(x) noexcept(x)
28 #define _NOEXCEPT throw ()
29 #define _NOEXCEPT_OP(x)
47 #if _MSVC_LANG > 201402
53 #if __cplusplus > 201402
62 #ifndef _HAS_AUTO_PTR_ETC
64 #define _HAS_AUTO_PTR_ETC 0
66 #define _HAS_AUTO_PTR_ETC 1
71 #ifndef _HAS_OLD_IOSTREAMS_MEMBERS
73 #define _HAS_OLD_IOSTREAMS_MEMBERS 0
75 #define _HAS_OLD_IOSTREAMS_MEMBERS 1
80 #ifndef _HAS_FUNCTION_ASSIGN
82 #define _HAS_FUNCTION_ASSIGN 0
84 #define _HAS_FUNCTION_ASSIGN 1
89 #ifndef _HAS_TR1_NAMESPACE
91 #define _HAS_TR1_NAMESPACE 0
93 #define _HAS_TR1_NAMESPACE 1
98 #ifndef _HAS_IDENTITY_STRUCT
100 #define _HAS_IDENTITY_STRUCT 0
102 #define _HAS_IDENTITY_STRUCT 1
107 #ifdef _RTC_CONVERSION_CHECKS_ENABLED
108 #ifndef _ALLOW_RTCc_IN_STL
109 static_assert(
false,
"/RTCc rejects conformant code, "
110 "so it isn't supported by the C++ Standard Library. "
111 "Either remove this compiler option, or define _ALLOW_RTCc_IN_STL "
112 "to acknowledge that you have received this warning.");
126 #if defined(MRTDLL) && defined(_CRTBLD)
135 #define __PURE_APPDOMAIN_GLOBAL __declspec(appdomain)
137 #define __PURE_APPDOMAIN_GLOBAL
141 #ifndef _CRT_MSVCP_CURRENT
145 #define _CRT_MSVCP_CURRENT "msvcpd_win.dll"
147 #define _CRT_MSVCP_CURRENT "msvcp_win.dll"
152 #define _CRT_MSVCP_CURRENT "msvcp140d.dll"
154 #define _CRT_MSVCP_CURRENT "msvcp140.dll"
160 #define _MULTI_THREAD 1
162 #define _GLOBAL_USING 1
165 #define _NO_LOCALES 0
168 #ifdef _ITERATOR_DEBUG_LEVEL
171 #if _ITERATOR_DEBUG_LEVEL > 2 && defined(_DEBUG)
172 #error _ITERATOR_DEBUG_LEVEL > 2 is not supported in debug mode.
173 #elif _ITERATOR_DEBUG_LEVEL > 1 && !defined(_DEBUG)
174 #error _ITERATOR_DEBUG_LEVEL > 1 is not supported in release mode.
178 #ifdef _HAS_ITERATOR_DEBUGGING
179 #if _ITERATOR_DEBUG_LEVEL == 2 && _HAS_ITERATOR_DEBUGGING != 1
180 #error _ITERATOR_DEBUG_LEVEL == 2 must imply _HAS_ITERATOR_DEBUGGING == 1 .
181 #elif _ITERATOR_DEBUG_LEVEL < 2 && _HAS_ITERATOR_DEBUGGING != 0
182 #error _ITERATOR_DEBUG_LEVEL < 2 must imply _HAS_ITERATOR_DEBUGGING == 0 .
185 #if _ITERATOR_DEBUG_LEVEL == 2
186 #define _HAS_ITERATOR_DEBUGGING 1
188 #define _HAS_ITERATOR_DEBUGGING 0
194 #if _ITERATOR_DEBUG_LEVEL > 0 && _SECURE_SCL != 1
195 #error _ITERATOR_DEBUG_LEVEL > 0 must imply _SECURE_SCL == 1 .
196 #elif _ITERATOR_DEBUG_LEVEL == 0 && _SECURE_SCL != 0
197 #error _ITERATOR_DEBUG_LEVEL == 0 must imply _SECURE_SCL == 0 .
200 #if _ITERATOR_DEBUG_LEVEL > 0
201 #define _SECURE_SCL 1
203 #define _SECURE_SCL 0
210 #ifdef _HAS_ITERATOR_DEBUGGING
211 #if _HAS_ITERATOR_DEBUGGING > 1
212 #error _HAS_ITERATOR_DEBUGGING must be either 0 or 1 .
213 #elif _HAS_ITERATOR_DEBUGGING == 1 && !defined(_DEBUG)
214 #error _HAS_ITERATOR_DEBUGGING == 1 is not supported in release mode.
218 #define _HAS_ITERATOR_DEBUGGING 1
220 #define _HAS_ITERATOR_DEBUGGING 0
227 #error _SECURE_SCL must be either 0 or 1 .
230 #if _HAS_ITERATOR_DEBUGGING == 1
231 #define _SECURE_SCL 1
233 #define _SECURE_SCL 0
238 #if _HAS_ITERATOR_DEBUGGING
239 #define _ITERATOR_DEBUG_LEVEL 2
241 #define _ITERATOR_DEBUG_LEVEL 1
243 #define _ITERATOR_DEBUG_LEVEL 0
248 #define _STRINGIZEX(x) #x
249 #define _STRINGIZE(x) _STRINGIZEX(x)
252 #ifndef _ALLOW_MSC_VER_MISMATCH
253 #pragma detect_mismatch("_MSC_VER", "1900")
256 #ifndef _ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH
257 #pragma detect_mismatch("_ITERATOR_DEBUG_LEVEL", _STRINGIZE(_ITERATOR_DEBUG_LEVEL))
260 #ifndef _ALLOW_RUNTIME_LIBRARY_MISMATCH
261 #if !defined(_DLL) && !defined(_DEBUG)
262 #pragma detect_mismatch("RuntimeLibrary", "MT_StaticRelease")
263 #elif !defined(_DLL) && defined(_DEBUG)
264 #pragma detect_mismatch("RuntimeLibrary", "MTd_StaticDebug")
265 #elif defined(_DLL) && !defined(_DEBUG)
266 #pragma detect_mismatch("RuntimeLibrary", "MD_DynamicRelease")
267 #elif defined(_DLL) && defined(_DEBUG)
268 #pragma detect_mismatch("RuntimeLibrary", "MDd_DynamicDebug")
273 #ifdef _ITERATOR_DEBUG_ARRAY_OVERLOADS
274 #if _ITERATOR_DEBUG_ARRAY_OVERLOADS != 0 && _ITERATOR_DEBUG_ARRAY_OVERLOADS != 1
275 #error _ITERATOR_DEBUG_ARRAY_OVERLOADS must be either 0 or 1 .
276 #elif _ITERATOR_DEBUG_LEVEL == 0 && _ITERATOR_DEBUG_ARRAY_OVERLOADS == 1
277 #error _ITERATOR_DEBUG_LEVEL == 0 must imply _ITERATOR_DEBUG_ARRAY_OVERLOADS == 0 .
280 #if _ITERATOR_DEBUG_LEVEL == 0
281 #define _ITERATOR_DEBUG_ARRAY_OVERLOADS 0
283 #define _ITERATOR_DEBUG_ARRAY_OVERLOADS 1
288 #if !defined(_SCL_SECURE_NO_WARNINGS) && defined(_SCL_SECURE_NO_DEPRECATE)
289 #define _SCL_SECURE_NO_WARNINGS
292 #if !defined (_SECURE_SCL_DEPRECATE)
293 #if defined(_SCL_SECURE_NO_WARNINGS)
294 #define _SECURE_SCL_DEPRECATE 0
296 #define _SECURE_SCL_DEPRECATE 1
303 #if _ITERATOR_DEBUG_LEVEL > 0 && _SECURE_SCL_DEPRECATE
304 #define _SCL_INSECURE_DEPRECATE_FN(_Func) \
305 _CRT_DEPRECATE_TEXT( \
306 "Call to 'std::" #_Func "' with parameters that may be unsafe - " \
307 "this call relies on the caller to check that the passed values are correct. " \
308 "To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. " \
309 "See documentation on how to use Visual C++ 'Checked Iterators'")
311 #define _SCL_INSECURE_DEPRECATE_FN(_Func)
314 #ifndef _SCL_SECURE_INVALID_PARAMETER
315 #define _SCL_SECURE_INVALID_PARAMETER(expr) _CRT_SECURE_INVALID_PARAMETER(expr)
318 #define _SCL_SECURE_INVALID_ARGUMENT_NO_ASSERT _SCL_SECURE_INVALID_PARAMETER("invalid argument")
319 #define _SCL_SECURE_OUT_OF_RANGE_NO_ASSERT _SCL_SECURE_INVALID_PARAMETER("out of range")
321 #define _SCL_SECURE_ALWAYS_VALIDATE(cond) \
325 _ASSERTE(#cond && 0); \
326 _SCL_SECURE_INVALID_ARGUMENT_NO_ASSERT; \
328 _Analysis_assume_(cond); \
331 #define _SCL_SECURE_ALWAYS_VALIDATE_RANGE(cond) \
335 _ASSERTE(#cond && 0); \
336 _SCL_SECURE_OUT_OF_RANGE_NO_ASSERT; \
338 _Analysis_assume_(cond); \
341 #define _SCL_SECURE_CRT_VALIDATE(cond, retvalue) \
345 _ASSERTE(#cond && 0); \
346 _SCL_SECURE_INVALID_PARAMETER(cond); \
351 #if _ITERATOR_DEBUG_LEVEL > 0
353 #define _SCL_SECURE_VALIDATE(cond) \
357 _ASSERTE(#cond && 0); \
358 _SCL_SECURE_INVALID_ARGUMENT_NO_ASSERT; \
360 _Analysis_assume_(cond); \
363 #define _SCL_SECURE_VALIDATE_RANGE(cond) \
367 _ASSERTE(#cond && 0); \
368 _SCL_SECURE_OUT_OF_RANGE_NO_ASSERT; \
370 _Analysis_assume_(cond); \
373 #define _SCL_SECURE_INVALID_ARGUMENT \
375 _ASSERTE("Standard C++ Libraries Invalid Argument" && 0); \
376 _SCL_SECURE_INVALID_ARGUMENT_NO_ASSERT; \
378 #define _SCL_SECURE_OUT_OF_RANGE \
380 _ASSERTE("Standard C++ Libraries Out of Range" && 0); \
381 _SCL_SECURE_OUT_OF_RANGE_NO_ASSERT; \
387 #if _ITERATOR_DEBUG_LEVEL == 2
388 #define _SCL_SECURE_VALIDATE(cond) _Analysis_assume_(cond)
389 #define _SCL_SECURE_VALIDATE_RANGE(cond) _Analysis_assume_(cond)
391 #define _SCL_SECURE_VALIDATE(cond)
392 #define _SCL_SECURE_VALIDATE_RANGE(cond)
395 #define _SCL_SECURE_INVALID_ARGUMENT
396 #define _SCL_SECURE_OUT_OF_RANGE
400 #if __STDC_WANT_SECURE_LIB__
401 #define _CRT_SECURE_MEMCPY(dest, destsize, source, count) ::memcpy_s((dest), (destsize), (source), (count))
402 #define _CRT_SECURE_MEMMOVE(dest, destsize, source, count) ::memmove_s((dest), (destsize), (source), (count))
403 #define _CRT_SECURE_WMEMCPY(dest, destsize, source, count) ::wmemcpy_s((dest), (destsize), (source), (count))
404 #define _CRT_SECURE_WMEMMOVE(dest, destsize, source, count) ::wmemmove_s((dest), (destsize), (source), (count))
406 #define _CRT_SECURE_MEMCPY(dest, destsize, source, count) ::memcpy((dest), (source), (count))
407 #define _CRT_SECURE_MEMMOVE(dest, destsize, source, count) ::memmove((dest), (source), (count))
408 #define _CRT_SECURE_WMEMCPY(dest, destsize, source, count) ::wmemcpy((dest), (source), (count))
409 #define _CRT_SECURE_WMEMMOVE(dest, destsize, source, count) ::wmemmove((dest), (source), (count))
414 #if defined(_M_CEE) && defined(_STATIC_CPPLIB)
415 #error _STATIC_CPPLIB is not supported while building with /clr or /clr:pure
418 #if defined(_DLL) && defined(_STATIC_CPPLIB) && !defined(_DISABLE_DEPRECATE_STATIC_CPPLIB)
419 #pragma _CRT_WARNING("_STATIC_CPPLIB is deprecated")
424 #if defined(CRTDLL2) && defined(_CRTBLD)
425 #define _CRTIMP2 __declspec(dllexport)
428 #if defined(_DLL) && !defined(_STATIC_CPPLIB)
429 #define _CRTIMP2 __declspec(dllimport)
439 #ifndef _CRTIMP2_NCEEPURE
440 #if defined(_M_CEE_PURE)
441 #define _CRTIMP2_NCEEPURE
443 #define _CRTIMP2_NCEEPURE _CRTIMP2
447 #ifndef _MRTIMP2_PURE
448 #if defined(_M_CEE_PURE)
449 #define _MRTIMP2_PURE
451 #define _MRTIMP2_PURE _MRTIMP2
455 #ifndef _MRTIMP2_PURE_NPURE
456 #if defined(_M_CEE_PURE)
457 #define _MRTIMP2_PURE_NPURE
459 #define _MRTIMP2_PURE_NPURE _MRTIMP2_NPURE
464 #ifndef _MRTIMP2_NPURE
465 #if defined(MRTDLL) && defined(_CRTBLD)
466 #if !defined(_M_CEE_PURE)
467 #define _MRTIMP2_NPURE __declspec(dllexport)
469 #define _MRTIMP2_NPURE
473 #if defined(_DLL) && defined(_M_CEE_PURE)
474 #define _MRTIMP2_NPURE __declspec(dllimport)
477 #define _MRTIMP2_NPURE
483 #if defined(_DLL) && !defined(_STATIC_CPPLIB) && !defined(_M_CEE_PURE)
487 #ifndef _CRTIMP2_PURE
488 #if defined(MRTDLL) && defined(_CRTBLD)
489 #define _CRTIMP2_PURE
492 #define _CRTIMP2_PURE
494 #define _CRTIMP2_PURE _CRTIMP2
500 #if !defined(_CRTDATA2)
502 #define _CRTDATA2 _CRTIMP2
510 #if defined(__cplusplus)
511 #ifndef _NATIVE_WCHAR_T_DEFINED
512 #error Native wchar_t must be defined
515 #define _CRTBLD_NATIVE_WCHAR_T
521 #define _cpp_stdin (__acrt_iob_func(0))
522 #define _cpp_stdout (__acrt_iob_func(1))
523 #define _cpp_stderr (__acrt_iob_func(2))
524 #define _cpp_isleadbyte(c) (__pctype_func()[(unsigned char)(c)] & _LEADBYTE)
526 #if !defined(_CRTDATA2)
527 #define _CRTDATA2 _CRTIMP2
533 #if defined(__cplusplus)
534 #define _STD_BEGIN namespace std {
541 #define _STDEXT_BEGIN namespace stdext {
542 #define _STDEXT_END }
543 #define _STDEXT ::stdext::
546 #define _C_STD_BEGIN namespace std {
548 #define _CSTD ::std::
558 #define _C_LIB_DECL extern "C" {
559 #define _END_C_LIB_DECL }
560 #define _EXTERN_C extern "C" {
561 #define _END_EXTERN_C }
573 #define _END_C_LIB_DECL
575 #define _END_EXTERN_C
579 #define _LONGLONG long long
580 #define _ULONGLONG unsigned long long
581 #define _LLONG_MAX 0x7fffffffffffffff
582 #define _ULLONG_MAX 0xffffffffffffffff
587 #define _MAX_EXP_DIG 8
588 #define _MAX_INT_DIG 32
589 #define _MAX_SIG_DIG_V1 36
590 #define _MAX_SIG_DIG_V2 768
598 #define _IOBASE _base
604 #define _LOCK_LOCALE 0
605 #define _LOCK_MALLOC 1
606 #define _LOCK_STREAM 2
607 #define _LOCK_DEBUG 3
608 #define _LOCK_AT_THREAD_EXIT 4
619 #pragma warning(push)
620 #pragma warning(disable:4412)
626 #if defined(_M_CEE_PURE) || defined(MRTDLL)
635 _Lockit_ctor(
this, _Kind);
644 __thiscall _Lockit();
645 explicit __thiscall _Lockit(
int);
669 explicit _Lockit(
int)
689 #if defined(__cplusplus_cli)
690 #define _M_CEE_FINALLY finally
692 #define _M_CEE_FINALLY __finally
695 #define _BEGIN_LOCK(_Kind) \
697 typedef int _TmpTestType; \
698 __if_exists(_TmpTestType::ToString) \
700 bool _MustReleaseLock = false; \
701 int _LockKind = _Kind; \
702 System::Runtime::CompilerServices::RuntimeHelpers::PrepareConstrainedRegions(); \
706 __if_exists(_TmpTestType::ToString) \
708 System::Runtime::CompilerServices::RuntimeHelpers::PrepareConstrainedRegions(); \
709 try { } _M_CEE_FINALLY \
711 _STD _Lockit::_Lockit_ctor(_LockKind); \
712 _MustReleaseLock = true; \
715 __if_not_exists(_TmpTestType::ToString) \
717 _STD _Lockit _Lock(_Kind); \
720 #define _END_LOCK() \
722 __if_exists(_TmpTestType::ToString) \
726 if (_MustReleaseLock) \
728 _STD _Lockit::_Lockit_dtor(_LockKind); \
734 #define _BEGIN_LOCINFO(_VarName) \
735 _BEGIN_LOCK(_LOCK_LOCALE) \
738 #define _END_LOCINFO() \
741 #define _RELIABILITY_CONTRACT \
742 [System::Runtime::ConstrainedExecution::ReliabilityContract( \
743 System::Runtime::ConstrainedExecution::Consistency::WillNotCorruptState, \
744 System::Runtime::ConstrainedExecution::Cer::Success)]
747 #define _BEGIN_LOCK(_Kind) \
749 _STD _Lockit _Lock(_Kind);
751 #define _END_LOCK() \
754 #define _BEGIN_LOCINFO(_VarName) \
758 #define _END_LOCINFO() \
761 #define _RELIABILITY_CONTRACT
768 #if defined(_M_CEE_PURE) || defined(MRTDLL)
771 _Init_locks_ctor(
this);
776 _Init_locks_dtor(
this);
780 __thiscall _Init_locks();
785 static _MRTIMP2_NPURE void __cdecl _Init_locks_ctor(_Init_locks *);
786 static _MRTIMP2_NPURE void __cdecl _Init_locks_dtor(_Init_locks *);
803 #ifndef _RELIABILITY_CONTRACT
804 #define _RELIABILITY_CONTRACT
813 #define _Mbstinit(x) mbstate_t x = {}
816 #pragma pop_macro("new")
#define _C_STD_BEGIN
Definition: yvals.h:568
_C_STD_BEGIN _MRTIMP2 void __cdecl _Atexit(void(__cdecl *)(void))
#define _ULONGLONG
Definition: yvals.h:580
#define _STD_BEGIN
Definition: yvals.h:564
#define _MRTIMP2
Definition: crtdefs.h:62
unsigned long _Uint32t
Definition: yvals.h:811
#define _NOEXCEPT
Definition: yvals.h:25
#define _C_STD_END
Definition: yvals.h:569
#define __CLR_OR_THIS_CALL
Definition: vcruntime.h:147
#define _LONGLONG
Definition: yvals.h:579
_LONGLONG _Longlong
Definition: yvals.h:592
#define _STD_END
Definition: yvals.h:565
#define _MRTIMP2_NPURE
Definition: yvals.h:477
#define _CRTIMP2_PURE
Definition: yvals.h:494
_ULONGLONG _ULonglong
Definition: yvals.h:593