# gsl-lite

ISO C++ Core Guidelines Library implementation for C++98, C++11 up

Canonical page: https://www.reposhelf.co.uk/projects/github/gsl-lite/gsl-lite.html

- Project ID: gsl-lite/gsl-lite
- Source: GitHub
- Original project: https://github.com/gsl-lite/gsl-lite
- Description attribution: project author metadata
- Categories: Other
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-23T13:16:04.361Z
- Demo page loaded: 2026-11-16T13:17:46.532Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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&gt; 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++.

## Author-documented requirements and 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.

Source: https://github.com/gsl-lite/gsl-lite/blob/master/README.md

Extraction checked: 2026-11-02T02:09:47.732Z

Last recorded source update: 2026-08-20T06:59:25.000Z

Saved release: v1.1.1 — 2026-08-20T06:59:25.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=gsl-lite%2Fgsl-lite). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
