Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does ^ (caret) mean in C++, as in String^ [duplicate]

Tags:

c++

Possible Duplicate:
What does the caret mean in C++/CLI?

What does ^ mean in this example?

String^ dd= Convert::ToString(DateTime::Now);

or array<String^,2>^ or OleDbCommand^ and so on ...

like image 398
Br3x Avatar asked Oct 27 '25 09:10

Br3x


1 Answers

This is not C++, but either Managed C++, C++/CLI, or WinRT. In all of those instances, this notation stands for a managed reference.

like image 67
Don Reba Avatar answered Oct 28 '25 22:10

Don Reba



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!