中文
Sign in
AI tools
聊天
热门问题
时间线
Loading AI tools
全部
文章
字典
引用
地图
Return type
来自维基百科,自由的百科全书
Found in articles
Objective-C
memberVar2; } +(
return
_
type
) class_method; // 类方法 -(
return
_
type
) instance_method1; // 实例方法 -(
return
_
type
) instance_method2: (int) p1; -(
return
_
type
) instance_method3:
C++14
//
Return
type
is `int`. auto f(const int& i) {
return
i; } //
Return
type
is `const int&`. decltype(auto) g(const int& i) {
return
i; } int CPP()
元数据 (CLI)
类成员,以及当前程序集将从另一个程序集中调用的类和类成员。方法的元数据包含该方法的完整描述,包括类(以及包含该类的程序集)、
return
type
(英语:
return
type
)和所有方法参数。 CLI语言(英语:List of CLI languages)编译器将生成元数据并将其存储在包含CIL的
单例模式
if(singleton<_DATA_
TYPE
_>::pointer == nullptr) { singleton<_DATA_
TYPE
_>::pointer = new _DATA_
TYPE
_; } singleton<_DATA_
TYPE
_>::mutex.release(); }
return
惰性初始模式
ContainsKey(type)) { // 惰性初始 fruit = new Fruit(
type
); _typesDictionary.Add(
type
, fruit); } else fruit = _typesDictionary[
type
];
return
fruit; } public static void ShowAll()