, banjomatic wrote

 

I'm still figuring out all of the c++11 guidance myself, but maybe something like this:

1
2
3
std::wstring msg(L"The unique_ptr class supersedes auto_ptr");
::OutputDebugString(msg.c_str( ));
msgList.push_back(std::move(msg));


got it. thank you. I ask about collections because they are a basis of XAML programming, I am kind of sceptical of C++ collections performing well and being easy to use.