Add missing headers and std qualification, use std::numeric_limits in… by YexuanXiao · Pull Request #1546 · microsoft/cppwinrt
strings/base_xaml_typename.h
Switch XAML typename specializations to
std::int*_t/std::uint*_t.
strings/base_xaml_component_connector_winui.h
Use std::int32_t for XAML connection IDs.
strings/base_xaml_component_connector.h
Use std::int32_t for XAML connection IDs.
strings/base_windows.h
Qualify integer sizes and operator new parameter with std::.
strings/base_version.h
Qualify template and loop size types with std::size_t.
strings/base_types.h
Qualify fixed-width types and std::memcmp usage.
strings/base_string_operators.h
Replace memcpy_s with std::memcpy and qualify size type.
strings/base_string_input.h
Use std::wcslen, std::size_t, and std::numeric_limits for bounds checks.
strings/base_string.h
Qualify fixed-width types; use std::abort, std::memcpy, std::wcslen, std::numeric_limits.
strings/base_std_hash.h
Qualify size_t/byte types to std::size_t/std::uint8_t.
strings/base_security.h
Qualify Win32 error type to std::uint32_t.
strings/base_reference_produce.h
Qualify scalar and array reference types to std::int*_t/std::uint*_t.
strings/base_natvis.h
Qualify fixed-width and pointer-sized types; update accessor typedef.
strings/base_marshaler.h
Qualify COM ABI method return/param types with std::.
strings/base_lock.h
Qualify milliseconds cast to std::uint32_t.
strings/base_iterator.h
Use std::ptrdiff_t and std::uint32_t for iterator internals.
strings/base_includes.h
Add missing standard headers required by new std:: usage.
strings/base_implements.h
Qualify COM ABI signatures; use std::memset and std::uintptr_t.
strings/base_identity.h
Qualify size_t/byte arrays and related helpers with std::.
strings/base_fast_forward.h
Add headers and qualify ABI types; update memcmp usage.
strings/base_extern.h
Qualify extern handler function pointer signatures and Win32 ABI declarations.
strings/base_events.h
Qualify event token and sizes; adjust HRESULT constant casts.
strings/base_error.h
Use std::iswspace, qualify types, and use std::abort.
strings/base_delegate.h
Qualify COM ABI signatures and reference counting types.
strings/base_deferral.h
Qualify outstanding deferral counter type.
strings/base_coroutine_threadpool.h
Qualify apartment/TP types and result storage types.
strings/base_coroutine_foundation.h
Qualify timeouts and reference count types.
strings/base_com_ptr.h
Qualify HRESULT return types for capture helpers.
strings/base_collections_vector.h
Qualify indices/sizes to std::uint32_t and casts.
strings/base_collections_map.h
Qualify tuple traits indices/sizes to std::size_t.
strings/base_collections_base.h
Qualify collection sizes/indices and internal size calculations.
strings/base_collections.h
Qualify versioning snapshot and atomic version type.
strings/base_chrono.h
Qualify file_time storage and clock rep types.
strings/base_array.h
Qualify array view/com_array sizes and std::memset usage.
strings/base_agile_ref.h
Qualify trivial lock counter operators’ return type.
strings/base_activation.h
Qualify interlocked read types and context/size types; qualify apartment init args.
strings/base_abi.h
Qualify all ABI interface method signatures to std::int32_t/std::uint32_t.
cppwinrt/type_writers.h
Emit std::int64_t and std::(u)int*_t in generated code.
cppwinrt/text_writer.h
Add <cstdio> and use std::printf/std::snprintf/std::fprintf; qualify sizes/indent types.
cppwinrt/helpers.h
Qualify index/version types and enum value extraction to std::int32_t.
cppwinrt/component_writers.h
Qualify return/index types and use std::toupper in transforms.
cppwinrt/code_writers.h
Qualify GUID field extraction types; qualify difference_type to std::ptrdiff_t; qualify generated ABI return types.
cppwinrt/cmd_reader.h
Add <cctype>; qualify sizes/limits and use std::tolower; use std::numeric_limits for option bounds.