Reputation: 663
when i stumbled upon some MS headers files... i found codes like this
void App::OnSuspending(Object^ sender, SuspendingEventArgs^ args)
yes a normal function header, but notice on the parameter declaration "Object^", "SuspendingEventArgs^", i know they're somekind of classes but what is the use of "^" after each of them?
Upvotes: 0
Views: 445
Reputation: 44298
its not standard C++, its for compatibility with .net and signifies a .net reference type
Upvotes: 6