C++

The XWOS kernel is developed in pure C and does not depend on the C++ standard library. Users can use C++ language and the C++ standard library in threads. The C++ standard library is provided by the compiler. The following is a partial feature list:

  • g++, libstdc++, libsupc++
    • new, delete, new[], delete[], placement new, aligned new (C++17)
    • Containers
      • 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)
    • Containers
      • 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