The Guidelines Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This repo contains Microsoft's implementation of GSL. The entire implementation is provided inline in the headers under the gsl directory. The implementation generally assumes a platform that implements C++14 support. While some types have been broken out into their own headers (e.g. gsl/span), it is simplest to just include gsl/gsl and gain access to the entire library. This project makes use of the Google Test testing library. Please see the ThirdPartyNotices.txt file for details regarding the licensing of Google Test.

Features

  • The GSL port in vcpkg is kept up to date by Microsoft team members and community contributors
  • You can download and install GSL using the vcpkg dependency manager
  • Requires CMake
  • Configure CMake to use the compiler of your choice
  • Build the test suite
  • As the types are entirely implemented inline in headers, there are no linking requirements

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow GSL

GSL Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GSL!

Additional Project Details

Operating Systems

Android, Apple iPhone

Programming Language

C++

Related Categories

C++ Documentation Software, C++ Libraries

Registered

2021-11-18