Skip to content

Instantly share code, notes, and snippets.

@kennykerr
Last active January 19, 2023 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kennykerr/d85430a4badf927bce60dc75c9c260fe to your computer and use it in GitHub Desktop.
Save kennykerr/d85430a4badf927bce60dc75c9c260fe to your computer and use it in GitHub Desktop.
using namespace winrt;
using namespace Windows::Foundation::Collections;
struct Sample
{
IVector<IMap<hstring, hstring>> m_examples{ multi_threaded_vector<IMap<hstring, hstring>>() };
auto Examples() const
{
return m_examples;
}
};
int main()
{
Sample s;
auto e = s.Examples();
e.Append(nullptr);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment