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,

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]

Universal Windows Platform (UWP)
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,626 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 83,096 Reputation points

    It is winrt::make function template
    like at binding-property (implementation type)

0 additional answers

Sort by: Most helpful