ZOYKUHot Board

can1357/xstdTài liệu kỹ thuật

A portable header only library extending the C++20 STL.

Mục lục (TOC) (3 phần)▾
Thông báo ngôn ngữ:Chưa có tài liệu tiếng Việt cho kho lưu trữ này. Đang hiển thị bản gốc tiếng Anh chính thức.
Cài đặt nhanh
git clone https://github.com/can1357/xstd.git

xstd

ci

xstd is an extremely portable (x64, ARM64, WASM32) and header-only library extending the C++20 STL with useful features. It is mainly extracted from VTIL-Common in an attempt to hopefully completely move it at some point.

Usage

Add the includes/ directory to your include path, or consume the CMake target:

add_subdirectory(xstd)               # or FetchContent
target_link_libraries(app PRIVATE xstd::xstd)

Requires a C++20 compiler. xstd/gzip.hpp and xstd/zstd.hpp additionally require zlib and libzstd.

Development

  • Formatting is enforced by .clang-format (clang-format >= 19); vendored files are excluded via .clang-format-ignore.
  • cmake -B build -DXSTD_BUILD_CHECKS=ON && cmake --build build compiles every public header in a single TU — the same check CI runs on Linux (GCC, Clang) and macOS.

License

BSD-3-Clause, see LICENSE.

Bản sao tài liệu lưu trữ từ kho lưu trữ GitHub chính thức · Xem trên GitHub
Ngày đồng bộ: 2026-11-15