Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Simple-XX/SimpleKernel
/ CppInit
Function
CppInit
src/libcxx/kstd_libcxx.cpp:221–225 ·
view source on GitHub ↗
* c++ 全局对象构造 */
Source
from the content-addressed store, hash-verified
219
* c++ 全局对象构造
220
*/
221
auto CppInit() -> void {
222
// 调用构造函数
223
std::for_each(&__init_array_start, &__init_array_end,
224
[](function_t func) { (func)(); });
225
}
226
227
/**
228
* c++ 全局对象析构
Callers
2
_start
Function · 0.85
_start
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected