what does the "^" mean here? RRS feed

  • Question

  • There are some c++ source code, a piece of code like this:

    HRESULT CFRFile::InitFromAsset( IAsset^ asset )



    BSTR bstrAssetId = static_cast<BSTR>(System::Runtime::InteropServices::Marshal::StringToBSTR(asset->Id).ToPointer());

    BSTR bstr = static_cast<BSTR>(System::Runtime::InteropServices::Marshal::StringToBSTR(asset->Name).ToPointer());




    I wonder what does the "^" mean ?

    And in VS2005, these code build ok, but in VS2010 it doesn't work. Is that related to this symbol?

    Tuesday, February 15, 2011 5:10 AM