A factory method that, when a C++/WinRT implementation type is provided as a type parameter, returns one of the following.
For an explanation of the implementation type and projected type concepts, see Consume APIs with C++/WinRT and Author APIs with C++/WinRT. For more details, code, and a walkthrough of calling make in practice, see XAML; binding a control to C++/WinRT properties and collections. Also see make_self, which returns a com_ptr to an instance of the implementation type instead.
Also see Opt in to uniform construction, and direct implementation access.
Syntaxtemplate <typename D, typename... Args>
auto make(Args&&... args);
Template parameters
typename D
An implementation type.
args
Any constructor arguments for the constructor being invoked.
The default interface of the implementation type if no projected type exists, otherwise an instance of the projected type.
RequirementsMinimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)
Namespace: winrt
Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)
See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4