Skip to content

HWZen/sstl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sstl: Specialized Standard Library

Introduction

sstl is a basic std library written in c++20.
This lib is not a full-fledged library. It only implements some useful functions and classes which very huge and redundancy in stl.

sstl chases small, simple and performance.
sstl should only be used in general environments. So if you want multithreading support , high compatibility high reliability or powerful functions, look for other libraries.
In general, sstl assumes you are running in the following environment:

  • amd64 architecture
  • Windows 10 or above / Linux
  • use host compiler

Author does not guarantee that sstl will still work properly in special environments (such as embedded development, big endian cpu, stand-alone compiler)

Requirements

  • c++ compiler which supports c++20
  • if you want to build googletest and examples, you need:
    • googletest
    • cmake

Usage

  • sstl is a header-only lib, add include dir to your include_directories that you can use it.

implements

  • sstd::list
  • sstd::array
  • sstd::pair
  • sstd::ref_ptr
  • sstd::RefBase
  • sstd::atomic_queue
  • sstd::thread
  • sstd::qsort()
  • sstd::parallel_qsort()
  • sstd::print()
  • sstd::println()
  • sstd::out()
  • sstd::hash

IO lib (io.h) power by fast_io

features

  • header-only
  • easy to use
  • good code style
  • exhaustive comments
  • fast, simple and performance
  • no binary bloat
  • compatible with stl
  • write by c++20

implements in future

platforms passed by gtest

  • Linux (ubuntu 20.04 for wsl) with gcc 13.0.0
  • Windows 10 with MSVC 19.32.31329.0 (Visual Studio 2022)

About

a basic stl library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published