C++
Categories:
少于1分钟
XWOS内核是使用纯C语言开发的,不依赖C++的标准库。 用户可在线程中使用C++语言以及C++标准库,C++标准库由编译器提供,不完全功能清单如下:
- g++, libstdc++, libsupc++
- new, delete, new[], delete[], placement new, aligned new (C++17)
- 容器
- array
- vector
- deque
- map, multimap, unordered_map, unordered_multimap
- set, multiset, unordered_set, unordered_multiset
- list, forward_list
- stack, queue, priority_queue
- I/O stream
- string
- atomic
- RTTI
- exception
- unwind
- chrono
- thread
- mutex
- condition_variable
- llvm(clang++), libc++, libc++abi
- new, delete, new[], delete[], placement new, aligned new (C++17)
- 容器
- array
- vector
- deque
- map, multimap, unordered_map, unordered_multimap
- set, multiset, unordered_set, unordered_multiset
- list, forward_list
- stack, queue, priority_queue
- I/O stream
- string
- atomic
- RTTI
- exception
- unwind
- chrono
- thread
- mutex
- condition_variable