Features
Efficient Result<T, E> (error-handling) and Option<T> (optional-value) implementation with monadic methods
Unignorable error-types
Fail-fast (Abandonment/ Fatal failure) via panic s
Reporting via Report
Runtime panic hooks
Panic backtraces
Signal backtraces ( SIGSEGV , SIGILL , and SIGFPE )
Backtrace library
Portable, suitable, and easily-adoptable for embedded systems, safety-critical systems, and operating systems.
Easy debugging
Easy to use and hard to misuse API
Exception-free, RTTI-free, and memory allocation free ( no-std )
SFINAE-free
Space and time deterministic error-handling
Deterministic value lifetimes
Eliminates repitive code and abstractable error-handling logic code via monadic extensions
Fast success and error return paths
Modern and clean API
Well-documented
github地址:https://github.com/lamarrr/STX?u=1402400261&m=4512453906529942&cu=1968044071