It is winrt::make function template
like at binding-property (implementation type)
what is this method :- CoreApplication::Run(winrt::make<App>())

Vijayadithyan .N
121
Reputation points
i'm bit of a newbie here, I just learned some basic win32 and trying directx for uwp but this code makes 0 sense to me,
CoreApplication::Run(winrt::make<App>());
the CoreApplication::Run() i get it but what i don't get is 'make<App>()'.
these are my questions:-
what method is this?
so why call it like make<App>() when you could do it like make(App)?
[ Note:- this code is straight off msdn - https://learn.microsoft.com/en-us/windows/uwp/gaming/tutorial--setting-up-the-games-infrastructure]
Accepted answer
-
Castorix31 71,626 Reputation points
2022-04-03T09:43:01.82+00:00