dmitrykobets-msft
330583f478
Resolve MSVC warning C5260 ( #1049 )
...
* Test solution
* Mark dynamic_extent as inline, compiler-version-permitting
2022-07-18 17:42:21 -07:00
Werner Henze and Werner Henze
4377f6e603
quoted form of #include when GSL includes GSL files ( #1030 )
...
[SF.12: Prefer the quoted form of #include for files relative to the including file and the angle bracket form everywhere else](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rs-incform )
Additionally changed #include order in `span` so that all `span_ext` is in the GSL include block and not in the STL include block.
Fixes issues #1025 .
Co-authored-by: Werner Henze <w.henze@avm.de >
2022-01-31 13:06:42 -08:00
dmitrykobets-msft
bcf008ae55
Fix/implement C++2020 compilation, tests, and CI ( #1017 )
...
* Fix C++20 bugs and tests
* Rework CI for C++2020 tests
* Update readme compiler versions
2021-12-09 14:54:06 -08:00
Jean-Michaël Celerier
f09b24970d
Fix gsl/util for c++20 compilers without <span> ( #993 )
...
For instance, clang 10 sets __cplusplus >= 202002L yet does not have span, which causes build errors:
https://gcc.godbolt.org/z/Yq345zGea
2021-09-15 15:12:11 -07:00
Jordan Maples [MSFT] and Jordan Maples
b26f6d5ec7
gsl::at behavior change regarding gsl::span ( #985 )
...
* move span specialization of 'at' to <gsl/span> and update the parameter to be taken by reference
* undid previous changes and acted upon decisions made in maintainer sync. Fixed tests failing in /kernel mode
* ran clang-format on the include folder
* ran clang-format on the test folder
Co-authored-by: Jordan Maples <jordan.maples@microsoft.com >
2021-05-20 18:18:08 -07:00
Jordan Maples [MSFT]
a150aaa4ed
renaming main logic files. Added warning message of the removal and include passthrough. Renamed includes in the source files. Ran Clang-Format ( #946 )
...
Header rename
2020-10-29 17:38:48 -07:00