C++/CLI 中的声明 "String^ strtests" 是什么意思?

What does the declaration "String^ strtests" in C++/CLI mean?

我只是对下面的语法感到困惑:

T1<T2^>^ templatetest;
Sting^ strtest;
[this]()->...
C++/CLI 中的

^ 类似于 C++ 中的 *。用 ^ 声明并由 gcnew 分配的对象将存储在托管内存中并自动释放,然后该内存上的指针数变为 0。