Coffeehouse Post

Single Post Permalink

View Thread: MS working on a same compiler for C++ AND C# ! Not in 'incubation' but for production !
  • User profile image
    SteveRichter

    , 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.