函数声明中的奇怪运算符 [英] Weird operator in function declaration

查看:80
本文介绍了函数声明中的奇怪运算符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿那里,



我一直在审查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 ++版本的新功能,还是某种操作符重载技巧。



任何想法?

< br $> 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,
g

What I have tried:

did the main thing here - rtfm, but could not find the definition.

推荐答案

C++/CLI-维基百科 [ ^ ]。


这篇关于函数声明中的奇怪运算符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆