cpp-gsl
brew install cpp-gsl
v4.2.2
MIT
Microsoft's C++ Guidelines Support Library
108
30-day installs · #3353
229
90-day · #3964
866
365-day · #4055
6.7k
★ GitHub stars · updated 2mo ago
Build dependencies
Links
- https://github.com/Microsoft/GSL
- GitHub: Microsoft/GSL
- Brew formula source: Formula/c/cpp-gsl.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"cmake"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Microsoft\u0027s C++ Guidelines Support Library",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:38+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cpp-gsl",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-05T12:45:11Z",
"github_readme_excerpt": "# GSL: Guidelines Support Library\n[](https://github.com/microsoft/GSL/actions/workflows/compilers.yml?query=branch%3Amain)\n[](https://vcpkg.io/en/package/ms-gsl)\n\nThe Guidelines Support Library (GSL) contains functions and types that are suggested for use by the\n[C++ Core Guidelines](https://github.com/isocpp/CppCoreGuidelines) maintained by the [Standard C++ Foundation](https://isocpp.org).\nThis repo contains Microsoft\u0027s implementation of GSL.\n\nThe entire implementation is provided inline in the headers under the [gsl](./include/gsl) directory. The implementation generally assumes a platform that implements C++14 support.\n\nWhile some types have been broken out into their own headers (e.g. [gsl/span](./include/gsl/span)),\nit is simplest to just include [gsl/gsl](./include/gsl/gsl) and gain access to the entire library.\n\n\u003e NOTE: We encourage contributions that improve or refine any of the types in this library as well as ports to\nother platforms. Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for more information about contributing.\n\n# Project Code of Conduct\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n# Usage of Third Party Libraries\nThis project makes use of the [Google Test](https://github.com/google/googletest) testing library. Please see the [ThirdPartyNotices.txt](./ThirdPartyNotices.txt) file for details regarding the licensing of Google Test.\n\n# Supported features\n## Microsoft GSL implements the following from the C++ Core Guidelines:\n\nFeature | Supported? | Description\n--------------",
"github_repo": "Microsoft/GSL",
"github_stars": 6692,
"github_topics": [],
"homepage": "https://github.com/Microsoft/GSL",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 108,
"installs_365d": 866,
"installs_90d": 229,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "cpp-gsl",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 3353,
"rank_365d": 4055,
"rank_90d": 3964,
"raw_hash": "07c2c0a2dd6878b1",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cpp-gsl.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "4.2.2",
"versioned_formulae": [],
"why_use_this": null
}