├── .clang-format ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md ├── copilot-instructions.md └── workflows │ ├── android.yml │ ├── cmake │ └── action.yml │ ├── cmake_find_package.yml │ ├── compilers.yml │ ├── copilot-setup-steps.yml │ └── ios.yml ├── .gitignore ├── CMakeLists.txt ├── CMakePresets.json ├── CONTRIBUTING.md ├── GSL.natvis ├── LICENSE ├── README.md ├── SECURITY.md ├── ThirdPartyNotices.txt ├── docs ├── headers.md └── upgrade_checklist.md ├── include ├── CMakeLists.txt └── gsl │ ├── algorithm │ ├── assert │ ├── byte │ ├── gsl │ ├── narrow │ ├── pointers │ ├── span │ ├── span_ext │ ├── util │ └── zstring └── tests ├── CMakeLists.txt ├── CMakeLists.txt.in ├── algorithm_tests.cpp ├── assertion_tests.cpp ├── at_tests.cpp ├── byte_tests.cpp ├── constexpr_notnull_tests.cpp ├── deathTestCommon.h ├── no_exception_ensure_tests.cpp ├── notnull_tests.cpp ├── owner_tests.cpp ├── pointers_tests.cpp ├── span_compatibility_tests.cpp ├── span_ext_tests.cpp ├── span_tests.cpp ├── strict_notnull_tests.cpp └── utils_tests.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | include/gsl/* linguist-language=C++ 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/workflows/android.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.github/workflows/android.yml -------------------------------------------------------------------------------- /.github/workflows/cmake/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.github/workflows/cmake/action.yml -------------------------------------------------------------------------------- /.github/workflows/cmake_find_package.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.github/workflows/cmake_find_package.yml -------------------------------------------------------------------------------- /.github/workflows/compilers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.github/workflows/compilers.yml -------------------------------------------------------------------------------- /.github/workflows/copilot-setup-steps.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.github/workflows/copilot-setup-steps.yml -------------------------------------------------------------------------------- /.github/workflows/ios.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.github/workflows/ios.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CMakePresets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/CMakePresets.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /GSL.natvis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/GSL.natvis -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/SECURITY.md -------------------------------------------------------------------------------- /ThirdPartyNotices.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/ThirdPartyNotices.txt -------------------------------------------------------------------------------- /docs/headers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/docs/headers.md -------------------------------------------------------------------------------- /docs/upgrade_checklist.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/docs/upgrade_checklist.md -------------------------------------------------------------------------------- /include/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/CMakeLists.txt -------------------------------------------------------------------------------- /include/gsl/algorithm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/algorithm -------------------------------------------------------------------------------- /include/gsl/assert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/assert -------------------------------------------------------------------------------- /include/gsl/byte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/byte -------------------------------------------------------------------------------- /include/gsl/gsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/gsl -------------------------------------------------------------------------------- /include/gsl/narrow: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/narrow -------------------------------------------------------------------------------- /include/gsl/pointers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/pointers -------------------------------------------------------------------------------- /include/gsl/span: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/span -------------------------------------------------------------------------------- /include/gsl/span_ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/span_ext -------------------------------------------------------------------------------- /include/gsl/util: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/util -------------------------------------------------------------------------------- /include/gsl/zstring: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/include/gsl/zstring -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/CMakeLists.txt.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/CMakeLists.txt.in -------------------------------------------------------------------------------- /tests/algorithm_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/algorithm_tests.cpp -------------------------------------------------------------------------------- /tests/assertion_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/assertion_tests.cpp -------------------------------------------------------------------------------- /tests/at_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/at_tests.cpp -------------------------------------------------------------------------------- /tests/byte_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/byte_tests.cpp -------------------------------------------------------------------------------- /tests/constexpr_notnull_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/constexpr_notnull_tests.cpp -------------------------------------------------------------------------------- /tests/deathTestCommon.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/deathTestCommon.h -------------------------------------------------------------------------------- /tests/no_exception_ensure_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/no_exception_ensure_tests.cpp -------------------------------------------------------------------------------- /tests/notnull_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/notnull_tests.cpp -------------------------------------------------------------------------------- /tests/owner_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/owner_tests.cpp -------------------------------------------------------------------------------- /tests/pointers_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/pointers_tests.cpp -------------------------------------------------------------------------------- /tests/span_compatibility_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/span_compatibility_tests.cpp -------------------------------------------------------------------------------- /tests/span_ext_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/span_ext_tests.cpp -------------------------------------------------------------------------------- /tests/span_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/span_tests.cpp -------------------------------------------------------------------------------- /tests/strict_notnull_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/strict_notnull_tests.cpp -------------------------------------------------------------------------------- /tests/utils_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/GSL/HEAD/tests/utils_tests.cpp --------------------------------------------------------------------------------