Commit Graph

  • 543d0dd3fe export proper syntax for GSL_SUPPRESS for new VS (#1213) main Carson Radtke 2025-10-02 08:47:16 -06:00
  • b14edaa8d8 use cmake presets instead of cmake settings carsonradtke/add-cmake-presets Carson Radtke 2025-09-29 09:30:38 -06:00
  • 1bb885ce3a Update tests/span_tests.cpp carsonradtke/individual-tests Carson Radtke 2025-08-21 10:14:10 -06:00
  • a40b7e0859 revert -Wno-reserved-identifier Carson Radtke 2025-08-21 10:02:42 -06:00
  • 95f3f2bf74 infra: individual test executables Carson Radtke 2025-08-21 09:57:18 -06:00
  • 1056583502 export proper syntax for GSL_SUPPRESS for new VS A new Visual Studio version will soon be available that deprecates the old syntax for gsl::suppress. Customers will now get a C4875 diagnostic on suppressions that look like gsl::suppress(x) urging them to use gsl::suppress("x") instead. carsonradtke/suppress-c4875 Carson Radtke 2025-09-09 10:18:41 -06:00
  • 494e6e988c fix: all pipeline failures (#1221) Carson Radtke 2025-09-30 15:10:46 -06:00
  • 2e65f54728 PR feedback: make sure markdown links are syntactically correct carsonradtke/fix-github-pipeline Carson Radtke 2025-09-30 11:29:30 -06:00
  • db6568b2a4 update visual studio versions after runner bump Carson Radtke 2025-09-29 11:52:10 -06:00
  • e91d455efb replace windows-2019 with windows-2025 Carson Radtke 2025-09-29 11:41:02 -06:00
  • ed516e2272 allow for missing include dirs on command line Carson Radtke 2025-09-29 11:24:38 -06:00
  • a0e1ffe13b Merge branch 'carsonradtke/fix-static-assertion' into carsonradtke/fix-github-pipeline Carson Radtke 2025-09-29 11:10:12 -06:00
  • 5ce7964004 fix compiler warning when building gtest for ios Carson Radtke 2025-09-29 11:05:55 -06:00
  • bfdf94670e bump xcode version from 15.4 to 16.4 Carson Radtke 2025-09-29 10:24:37 -06:00
  • 69a46a2248 fix: ios pipeline failure Carson Radtke 2025-09-29 10:19:48 -06:00
  • 271f6abe70 fix: update conditional static assertion There is a static assertion that spuriously fails on MSVC that was version checked. Unfortunately it fires every time there is a new compiler update, so for now we will remove the version check and add it back once the compiler bug is fixed. carsonradtke/fix-static-assertion Carson Radtke 2025-09-29 09:56:43 -06:00
  • 87b3085f6e Add comment explaining safe usage of typename T::element_type in not_null_hash copilot/fix-1209 copilot-swe-agent[bot] 2025-07-26 03:12:56 +00:00
  • 94759d5250 Fix hash compilation issue for gsl::not_null with shared_ptr copilot-swe-agent[bot] 2025-06-02 19:54:22 +00:00
  • f883a665ee Initial plan for issue copilot-swe-agent[bot] 2025-06-02 19:48:09 +00:00
  • 7e0943d20d Add constexpr to not_null comparison operators (#1208) Copilot 2025-05-22 11:52:47 -06:00
  • 2d343b0440 Document differences between hardened std::span and gsl::span (#1206) Copilot 2025-05-22 11:34:22 -06:00
  • c21970972b copilot: Provide more project context for the Copilot coding agent (#1207) Carson Radtke 2025-05-22 10:32:01 -06:00
  • 466e4ebaa5 Update return by value threshold in gsl::not_null (#1205) ozaktash 2025-05-12 19:02:03 +02:00
  • 3325bbd33d Fix version info (#1202) Werner Henze 2025-03-27 17:00:24 +01:00
  • 2828399820 replace BYTE_TYPE with a solution based on namespaces (#1201) v4.2.0 Werner Henze 2025-02-28 15:53:25 +01:00
  • c5fbb81ad4 documentation (#1200) Werner Henze 2025-02-28 15:49:53 +01:00
  • 7fabaa499d deprecate features adopted into C++ (#1198) Carson Radtke 2025-02-14 11:24:51 -06:00
  • 4742bc192a use relative path in # include (#1194) Carson Radtke 2025-02-12 09:16:45 -06:00
  • ec729d63a7 introduce gsl::not_null<T>::element_type (#1196) Carson Radtke 2025-02-12 09:16:05 -06:00
  • 7f4fc9388b Add more gsl::span tests [copilot] (#1189) Carson Radtke 2025-02-12 09:15:43 -06:00
  • 355982daf6 Delete gsl/string_span (#1185) Tiago 2025-01-07 06:58:59 -08:00
  • 50aaf2efbb remove documentation for deprecated make_span overloads (#1183) Werner Henze 2025-01-07 15:50:49 +01:00
  • 7b6b8013b1 Add "gsl" to #includes (#1184) Tiago 2025-01-07 06:42:38 -08:00
  • 1cdb8d295e More checks for non-compilable code, plus fix for span (#1180) Werner Henze 2025-01-04 18:50:31 +01:00
  • c832885f15 React to ubuntu-latest changing to 24.04 (#1181) Carson Radtke 2025-01-03 10:23:50 -06:00
  • 16a60199df strict_not_null for unique_ptr (#1179) Werner Henze 2024-12-26 18:00:36 +01:00
  • fcd55ee924 Better use of std::enable_if (#1177) Werner Henze 2024-12-23 17:40:22 +01:00
  • b8ac820fe1 Force unit tests for byte to use GSL implementation (#1176) Werner Henze 2024-12-18 17:16:36 +01:00
  • 272463043e introduce gsl::swap for swapping gsl::not_null (#1160) Carson Radtke 2024-12-13 15:16:53 -06:00
  • 8a0e3d8a9b fix: direct-init const ref instead of list-init (#1175) Carson Radtke 2024-12-13 10:22:16 -06:00
  • aed09c41b6 Fix SFINAE on gsl::owner. (#1174) Alberto La Rocca 2024-12-13 16:56:28 +01:00
  • 4b190d2e2a Create issue templates (#1173) Carson Radtke 2024-12-02 14:34:38 -06:00
  • ddae9d72b6 fix stale badge links in README (#1170) Carson Radtke 2024-11-25 13:06:02 -06:00
  • 74d2bb79d4 fix various pipeline failures (#1172) Carson Radtke 2024-11-25 12:58:45 -06:00
  • f8ec309118 improve performance of span_iterator w/ clang (#1166) Carson Radtke 2024-11-12 15:41:21 -06:00
  • 87f9d76886 GSL v4.1.0 (#1163) v4.1.0 Carson Radtke 2024-10-21 10:19:37 -05:00
  • 82ba6c77ce Added the IWYU pragma export (#1154) Heiko Kröger 2024-10-16 00:26:45 +02:00
  • 32511b8de4 Delete the useless 'noexcept(false)' (#1152) mq白 2024-10-15 04:30:40 +08:00
  • 84b2ca1352 Remove unused headers from gsl/pointers (#1153) Konstantin Akimov 2024-10-15 03:15:46 +07:00
  • ce2a959e02 [ci]: add testing pipelines to github actions (#1159) Carson Radtke 2024-10-14 15:05:13 -05:00
  • 11fe02d1ac Add a MS GSL disambiguation note (#1156) Brian Kroth 2024-10-14 09:43:43 -05:00
  • 3275f9ccb9 Fix gcc build problem (#1149) Werner Henze 2024-10-12 02:46:21 +02:00
  • b206bd163b [ci]: fix android job (#1158) Carson Radtke 2024-10-11 18:05:20 -05:00
  • b39e7e4b09 Add documentation for to_integer(byte) (#1144) Werner Henze 2024-02-26 22:23:45 +01:00
  • 2e0d1ba48c Test only __cpp_lib_byte, drop _HAS_STD_BYTE. (#1145) Stephan T. Lavavej 2024-02-26 13:22:20 -08:00
  • 1b4d42ca2e Fix initialization in test (#1140) d-winsor 2024-02-26 13:17:12 -08:00
  • 13bb92959b Suppress unsafe-buffer-usage test-fix Daniel Winsor 2024-02-26 12:55:46 -08:00
  • caae4dd0f8 Fix some typos. (#1146) Bruce Mitchener 2024-02-22 06:06:29 +07:00
  • 48d105af23 Add suppression Daniel Winsor 2024-02-21 15:05:57 -08:00
  • f1a494cfd2 ci: Update to actions/checkout@v4. (#1142) Bruce Mitchener 2024-01-18 06:25:32 +07:00
  • 77b2f4f3b8 Fix some typos. (#1143) Bruce Mitchener 2024-01-18 06:25:07 +07:00
  • d2b2c98185 Adjust test initialization Daniel Winsor 2023-12-20 16:10:20 -08:00
  • e64c97fc2c Mark not_null constructors as noexcept when underlying type can be moved with no exception (#1135) Nicholas Guriev 2023-10-19 01:15:26 +03:00
  • 52212c2d76 Update Clang GSL_SUPPRESS to stringize parameter instead of using fixed string literal. (#1133) Edward Chen 2023-09-11 10:52:30 -07:00
  • 2940006b5c Suppress some noisy / buggy warnings (#1136) Dmitry Kobets 2023-09-11 10:06:40 -07:00
  • 9695da9b38 fix and optimize documentation (#1131) Werner Henze 2023-09-06 01:08:36 +02:00
  • 4300304ef2 Remove unused macros (#1128) Dmitry Kobets 2023-07-26 15:07:28 -07:00
  • b34f7350fe get back gcc 8.4 compatibility (#1127) Werner Henze 2023-07-06 21:51:48 +02:00
  • 167c77d28e add missing include (#1126) Werner Henze 2023-07-04 02:20:50 +02:00
  • 87e21400dc remove gcc noexcept warning (#1122) Werner Henze 2023-06-29 00:17:12 +02:00
  • 3549e31ba4 Deprecate <gsl/string_span> and replace with <gsl/zstring> (#1125) Dmitry Kobets 2023-06-28 10:48:23 -07:00
  • 65a5995035 Remove deprecated headers (#1124) Dmitry Kobets 2023-06-28 10:48:04 -07:00
  • 303d964a24 Deprecate the Ptr make_span overloads (#1113) Dmitry Kobets 2023-05-22 10:48:41 -07:00
  • afaaa71bce Install GSL.natvis (#1112) jpr42 2023-05-10 18:02:44 -06:00
  • 4b5b5a1ed5 Disable std::hash<gsl::not_null<T>> if std::hash<T> is not enabled. (#1109) Dmitry Kobets 2023-05-10 11:25:04 -07:00
  • 5dc7fae119 Use the implementation-defined strict total order for pointer comparisons with not_null (#1106) Dmitry Kobets 2023-05-09 09:06:53 -07:00
  • 9face82309 Remove unnecessary check from size_bytes() (#1105) Dmitry Kobets 2023-05-09 09:05:26 -07:00
  • 1d036585cc Add testcase for #1100 (#1101) Dmitry Kobets 2023-03-30 11:10:15 -07:00
  • 43d60c5e38 Suppress warning C26481 (#1099) Werner Henze 2023-03-15 00:57:46 +01:00
  • 50d6eef541 Add span_iterator::_Prevent_inheriting_unwrap. (#1100) Stephan T. Lavavej 2023-03-14 13:50:34 -07:00
  • b080081c9c Add missing link to documentation dmitrykobets-msft 2023-02-27 15:49:09 -08:00
  • 9f85e4e088 minor docs improvements (#1097) Werner Henze 2023-02-23 20:10:19 +01:00
  • 78eb6ca145 Document span_ext (#1098) dmitrykobets-msft 2023-02-23 10:22:02 -08:00
  • 7f7108a076 Better links to CoreGuidelines (#1094) Werner Henze 2023-02-22 02:11:30 +01:00
  • 7a297d4283 Extend docs and tests for span ctor (#1096) Werner Henze 2023-02-22 00:46:40 +01:00
  • 9851b94d7e add some span test for constructor from other span (#1093) Werner Henze 2023-02-17 22:05:40 +01:00
  • 743939744c Documentation (#1086) Werner Henze 2023-02-17 19:38:34 +01:00
  • 3ba80d5dd4 simplify to_byte (#1090) Werner Henze 2023-02-14 23:10:56 +01:00
  • 49c88f27bd add not_null and strict_not_null tests for const (#1085) Werner Henze 2023-02-06 22:16:06 +01:00
  • f7da2e41f0 Raise CMake min to 3.14 (#1083) jpr42 2023-02-06 12:16:37 -07:00
  • cbf5e664fc Fix max macro collision (#1081) dmitrykobets-msft 2023-01-19 13:17:39 -08:00
  • a381a3759f 1075 Wrong Expects in gsl::at? (#1076) Werner Henze 2023-01-18 22:33:20 +01:00
  • 0822838a7c Add Linguist language override for include files (#1079) Gabriel Gerlero 2023-01-06 13:11:06 -03:00
  • f94c1f6f2b use code spans in README.md (#1078) Werner Henze 2022-12-29 19:23:30 +01:00
  • ac26d7bc71 cleanup natvis (#1077) Werner Henze 2022-12-29 19:21:11 +01:00
  • c016bdc77f remove all deprecated string_span stuff (#1074) Werner Henze 2022-12-27 16:22:26 +01:00
  • 46c72713f2 Document potentially confusing behavior in gsl::narrow (#1073) dmitrykobets-msft 2022-12-24 11:49:26 -08:00
  • 6c6111acb7 Remove null check inside not_null::get (#1067) dmitrykobets-msft 2022-12-14 18:16:52 -08:00
  • f3620bb009 Suppress false postive warning (#1068) dmitrykobets-msft 2022-12-14 15:39:34 -08:00
  • 517ed29228 Fix GSL_SUPPRESS definition when nvcc is in-use (#1064) Changming Sun 2022-11-07 14:00:32 -08:00