gsl-lite
gsl-lite/gsl-lite · Public GitHub repository
ISO C++ Core Guidelines Library implementation for C++98, C++11 up
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
gsl-lite is a portable, single-file, header-only library for defensive programming based on the C++ Core Guidelines Support Library specification.
gsl-lite is different from Microsoft GSL, the default implementation of the C++ Core Guidelines support library (GSL), in the following ways:
retains the copyability and movability of P and therefore may have a moved-from state, which Microsoft GSL expressly disallows. As a consequence, notnull> is movable in gsl-lite but not in Microsoft GSL.
- gsl-lite maintains support for older versions of C++ (C++98, C++03, C++11) and older compilers.
- gsl-lite supports CUDA, and many of its features can be used in CUDA kernel code.
- Contract and assertion checks are more versatile and fine-grained, and
- In gsl-lite, notnull
- gsl-lite defines feature testing macros and polyfills useful for targeting multiple versions of C++.
Requirements and intended audience
gsl-lite is a portable, single-file, header-only library for defensive programming based on the C++ Core Guidelines Support Library specification.
gsl-lite defines feature testing macros and polyfills useful for targeting multiple versions of C++.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-11-02. Source: https://github.com/gsl-lite/gsl-lite/blob/master/README.md
Recorded maintenance information
Last recorded source update: 2026-08-20. Saved release: v1.1.1 · 2026-08-20. These dates do not guarantee ongoing maintenance.
- Technologies
- C++
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-16. This does not test every feature.
Browse related categories
More projects to explore
iptv
iptv-org/iptv
Collection of publicly available IPTV channels from all over the world
HowToLiveBetter
eternity4719/HowToLiveBetter
高性价比人生指南: 长寿防病、急救、省钱理财、法律红线、失业与工伤、医保社保、恋爱婚育、怀孕育儿、创业与做平台合规、出国与技能。每条写明成本、收益、证据等级和原始出处,只引期刊论文与官方文件。
OpenManus
FoundationAgents/OpenManus
No fortress, purely open ground. OpenManus is Coming.
JavaScript30
wesbos/JavaScript30
30 Day Vanilla JS Challenge