c++ - ^ 在 bool GetDeviceInformation(String ^ port, LibCECConfiguration ^configuration, uint32_t timeoutMs) 中是什么意思

标签 c++ c++-cli

<分区>

我发现这个函数有这样的参数。我想知道这里的 ^ 是什么意思。

bool GetDeviceInformation(String ^ port, LibCECConfiguration ^configuration, uint32_t timeoutMs){}

干杯, 局域网

最佳答案

那是一个 C++/CLI“引用”。特别是,这不是 C++,而是 Microsoft 对其的扩展。在 C++ 中,插入符号始终是 XOR 运算符。

关于c++ - ^ 在 bool GetDeviceInformation(String ^ port, LibCECConfiguration ^configuration, uint32_t timeoutMs) 中是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17548289/

相关文章:

c++ - 手动调用构造函数?

c++ - 如何在我的文件阅读中包含空格

c++ - 视觉 C++ : Unable to invoke method from another class

thread-safety - C++/CLI 中的 CRITICAL_SECTION

c++ - 是否有生产者消费者以外的设计模式来描述这种模式?

c++ - 使用 sleep() 以一秒为间隔打印数组元素

c++ - 删除智能指针对象?

arrays - 将数组初始化为固定长度数组的最佳方法是什么? (C++/CLI)

.net - 字典与 KeyPairValue 的使用

c++ - 为使用 boost 的预开发库构建 C++ 包装器时 Unresolved external 问题