How can I box a std::optional into a C++/WinRT IInspectable?

1 · Raymond Chen · March 30, 2023, 2:30 p.m.
There's a handy conversion for that, but you have to know where to look. The post How can I box a <CODE>std::optional</CODE> into a C++/WinRT <CODE>IInspectable</CODE>? appeared first on The Old New Thing....