4

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

Community
  • 1
  • 1
Br3x
  • 754
  • 4
  • 10
  • 21

3 Answers3

8

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

Don Reba
  • 13,814
  • 3
  • 48
  • 61
0

^ means its a managed C++ entity. C++/CLI.

Azodious
  • 13,752
  • 1
  • 36
  • 71
0

.NET managed pointer, a specific Visual C++ extension.

CapelliC
  • 59,646
  • 5
  • 47
  • 90