本文介绍了函数声明中的奇怪运算符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 嘿那里, 我一直在审查cefSharp(C ++项目)的代码并找到了这样的函数声明:Hey there,I've been reviewing the code of cefSharp (C++ projects) and found such function declararion:void JavascriptAsyncMethodWrapper::Bind(JavascriptMethod^ method, const CefRefPtr<CefV8Value>& value) { auto methodName = StringUtils::ToNative(method->JavascriptName); auto v8Function = CefV8Value::CreateFunction(methodName, _javascriptMethodHandler.get()); value->SetValue(methodName, v8Function, V8_PROPERTY_ATTRIBUTE_NONE); } 这是c ++,到处都有^运算符。这似乎是一个指针,它很可能是。只是想知道这是否是某些C ++版本的新功能,还是某种操作符重载技巧。 任何想法? b $ b br, g 我尝试过: 做了主要的事情 - rtfm,但找不到定义。This is c++ and there are "^" operator everywhere. This seems like a pointer and it most probably is. Just wonder if this is a new feature of some C++ version or is it some sort of operator overloading trick.Any ideas?br,gWhat I have tried:did the main thing here - rtfm, but could not find the definition.推荐答案 C++/CLI-维基百科 [ ^ ]。 这篇关于函数声明中的奇怪运算符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
05-27 18:21
查看更多