@@ -2371,10 +2371,6 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
23712371 {
23722372 %(std::nullptr_t = nullptr) noexcept {}
23732373 %(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
2374- %(% const&) noexcept = default;
2375- %(%&&) noexcept = default;
2376- %& operator=(% const&) & noexcept = default;
2377- %& operator=(%&&) & noexcept = default;
23782374%% };
23792375)" ;
23802376
@@ -2384,14 +2380,6 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
23842380 bind<write_interface_requires>(type),
23852381 type_name,
23862382 type_name,
2387- type_name, // %(T const&)
2388- type_name, // T(% const&)
2389- type_name, // %(T&&)
2390- type_name, // T(%&&)
2391- type_name, // %& operator=(T const&)
2392- type_name, // T& operator=(% const&)
2393- type_name, // %& operator=(T&&)
2394- type_name, // T& operator=(%&&)
23952383 bind<write_interface_usings>(type),
23962384 bind<write_interface_extensions>(type));
23972385 }
@@ -2406,10 +2394,6 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
24062394 {%
24072395 %(std::nullptr_t = nullptr) noexcept {}
24082396 %(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
2409- %(% const&) noexcept = default;
2410- %(%&&) noexcept = default;
2411- %& operator=(% const&) & noexcept = default;
2412- %& operator=(%&&) & noexcept = default;
24132397%% };
24142398)" ;
24152399
@@ -2421,14 +2405,6 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
24212405 bind<write_generic_asserts>(generics),
24222406 type_name,
24232407 type_name,
2424- type_name, // %(T const&)
2425- type_name, // T(% const&)
2426- type_name, // %(T&&)
2427- type_name, // T(%&&)
2428- type_name, // %& operator=(T const&)
2429- type_name, // T& operator=(% const&)
2430- type_name, // %& operator=(T&&)
2431- type_name, // T& operator=(%&&)
24322408 bind<write_interface_usings>(type),
24332409 bind<write_interface_extensions>(type));
24342410 }
@@ -2454,10 +2430,6 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
24542430 {%
24552431 %(std::nullptr_t = nullptr) noexcept {}
24562432 %(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
2457- %(% const&) noexcept = default;
2458- %(%&&) noexcept = default;
2459- %& operator=(% const&) & noexcept = default;
2460- %& operator=(%&&) & noexcept = default;
24612433 template <typename L> %(L lambda);
24622434 template <typename F> %(F* function);
24632435 template <typename O, typename M> %(O* object, M method);
@@ -2470,18 +2442,10 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
24702442 method_signature signature{ get_delegate_method (type) };
24712443
24722444 w.write (format,
2473- type_name, // struct %
2445+ type_name,
24742446 bind<write_generic_asserts>(generics),
24752447 type_name,
24762448 type_name,
2477- type_name, // %(T const&)
2478- type_name, // T(% const&)
2479- type_name, // %(T&&)
2480- type_name, // T(%&&)
2481- type_name, // %& operator=(T const&)
2482- type_name, // T& operator=(% const&)
2483- type_name, // %& operator=(T&&)
2484- type_name, // T& operator=(%&&)
24852449 type_name,
24862450 type_name,
24872451 type_name,
@@ -3155,11 +3119,7 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
31553119 {
31563120 %(std::nullptr_t) noexcept {}
31573121 %(void* ptr, take_ownership_from_abi_t) noexcept : %(ptr, take_ownership_from_abi) {}
3158- % %(% const&) noexcept = default;
3159- %(%&&) noexcept = default;
3160- %& operator=(% const&) & noexcept = default;
3161- %& operator=(%&&) & noexcept = default;
3162- %% };
3122+ %%% };
31633123)" ;
31643124
31653125 w.write (format,
@@ -3171,14 +3131,6 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
31713131 type_name,
31723132 base_type,
31733133 bind<write_constructor_declarations>(type, factories),
3174- type_name, // %(T const&)
3175- type_name, // T(% const&)
3176- type_name, // %(T%&)
3177- type_name, // T(%&&)
3178- type_name, // %& operator=(T const&)
3179- type_name, // T& operator=(% const&)
3180- type_name, // %& operator=(T&&)
3181- type_name, // T& operator=(%&&)
31823134 bind<write_class_usings>(type),
31833135 bind_each<write_static_declaration>(factories, type));
31843136 }
@@ -3192,11 +3144,7 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
31923144 {
31933145 %(std::nullptr_t) noexcept {}
31943146 %(void* ptr, take_ownership_from_abi_t) noexcept : %(ptr, take_ownership_from_abi) {}
3195- % %(% const&) noexcept = default;
3196- %(%&&) noexcept = default;
3197- %& operator=(% const&) & noexcept = default;
3198- %& operator=(%&&) & noexcept = default;
3199- %% };
3147+ %%% };
32003148)" ;
32013149
32023150 w.write (format,
@@ -3207,14 +3155,6 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
32073155 type_name,
32083156 base_type,
32093157 bind<write_constructor_declarations>(type, factories),
3210- type_name, // %(T const&)
3211- type_name, // T(% const&)
3212- type_name, // %(T%&)
3213- type_name, // T(%&&)
3214- type_name, // %& operator=(T const&)
3215- type_name, // T& operator=(% const&)
3216- type_name, // %& operator=(T&&)
3217- type_name, // T& operator=(%&&)
32183158 bind<write_fast_class_base_declarations>(type),
32193159 bind_each<write_static_declaration>(factories, type));
32203160 }
0 commit comments