Skip to content
项目

关于

适用于 Linux、OSX、Windows、Cygwin 和 MinGW 的跨平台 C++ 通用库。

开发工具

这些数字如何统计

可以做什么

  • Cross platform (Linux, MacOS, Windows)
  • Exception handling model
  • Filesystem manipulations
  • String encoding converters

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

CppCommon

License Release
Linux (clang) Linux (gcc) MacOS
Windows (Cygwin) Windows (MSYS2) Windows (MinGW) Windows (Visual Studio)

C++ Common Library contains reusable components and patterns for error and exceptions handling, filesystem manipulations, math, string format and encoding, shared memory, threading, time management and others.

CppCommon API reference

Contents

Features

  • Cross platform (Linux, MacOS, Windows)
  • Exception handling model
  • Filesystem manipulations
  • String encoding converters
  • String format using {fmt} library
  • CPU, memory, environment
  • Shared memory
  • Stack trace
  • UUID generator
  • Thread extensions (priority, affinity, yield)
  • Thread barrier, latch
  • Synchronization primitives
  • Named synchronization primitives
  • Producer/consumer queues
  • Time management
  • Utilities

Requirements

Optional:

How to build?

Linux: install required packages

sudo apt-get install -y binutils-dev uuid-dev

Install gil (git links) tool

pip3 install gil

Setup repository

git clone https://github.com/chronoxor/CppCommon.git
cd CppCommon
gil update

Linux

cd build
./unix.sh

MacOS

cd build
./unix.sh

Windows (Cygwin)

cd build
unix.bat

Windows (MSYS2)

cd build
unix.bat

Windows (MinGW)

cd build
mingw.bat

Windows (Visual Studio)

cd build
vs.bat

探索相关项目

加载中…