зеркало из https://github.com/microsoft/cppwinrt.git
40 строки
918 B
C++
40 строки
918 B
C++
|
|
#include <algorithm>
|
|
#include <array>
|
|
#include <atomic>
|
|
#include <charconv>
|
|
#include <chrono>
|
|
#include <cstddef>
|
|
#include <map>
|
|
#include <memory>
|
|
#include <optional>
|
|
#include <stdexcept>
|
|
#include <string_view>
|
|
#include <string>
|
|
#include <tuple>
|
|
#include <type_traits>
|
|
#include <unordered_map>
|
|
#include <utility>
|
|
#include <vector>
|
|
|
|
#if __has_include(<WindowsNumerics.impl.h>)
|
|
#define WINRT_IMPL_NUMERICS
|
|
#include <directxmath.h>
|
|
#endif
|
|
|
|
#ifndef WINRT_EXPORT
|
|
#define WINRT_EXPORT
|
|
#else
|
|
export module winrt;
|
|
#endif
|
|
|
|
#ifdef WINRT_IMPL_NUMERICS
|
|
#define _WINDOWS_NUMERICS_NAMESPACE_ winrt::Windows::Foundation::Numerics
|
|
#define _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
|
|
#define _WINDOWS_NUMERICS_END_NAMESPACE_
|
|
#include <WindowsNumerics.impl.h>
|
|
#undef _WINDOWS_NUMERICS_NAMESPACE_
|
|
#undef _WINDOWS_NUMERICS_BEGIN_NAMESPACE_
|
|
#undef _WINDOWS_NUMERICS_END_NAMESPACE_
|
|
#endif
|