{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":43079276,"defaultBranch":"master","name":"gsl-lite","ownerLogin":"gsl-lite","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2015-09-24T16:34:57.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/60241016?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1681252250.0","currentOid":""},"activityList":{"items":[{"before":"2bc9771b0e8bfa727c43d02acb5d124bb13b946f","after":"bd9eb162d42d8ae6a7e86902ca7060247d71ac41","ref":"refs/heads/master","pushedAt":"2023-12-01T15:12:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Support `not_null<>` for `unique_ptr` and `shared_ptr` (#349, thanks to @BenFrantzDale)\n\nAlso increase CI coverage for v0 defaults.\r\n\r\nFollow-up bugfix for #340.","shortMessageHtmlLink":"Support not_null<> for unique_ptr<void, D> and shared_ptr<void> ("}},{"before":"34ba5141492a88912e2055e08cd1bdd6714431c5","after":"2bc9771b0e8bfa727c43d02acb5d124bb13b946f","ref":"refs/heads/master","pushedAt":"2023-12-01T14:02:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Add comment on presence of `not_null<>` comparison operators [skip ci]","shortMessageHtmlLink":"Add comment on presence of not_null<> comparison operators [skip ci]"}},{"before":"db7a9c9108f857506608f8012f00e51ff8edbf50","after":"34ba5141492a88912e2055e08cd1bdd6714431c5","ref":"refs/heads/master","pushedAt":"2023-10-29T09:27:16.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Do not use [[maybe_unused]] on data members for GCC","shortMessageHtmlLink":"Do not use [[maybe_unused]] on data members for GCC"}},{"before":"a8c7e5bbbd08841836f9b92d72747fb8769dbec4","after":"db7a9c9108f857506608f8012f00e51ff8edbf50","ref":"refs/heads/master","pushedAt":"2023-10-28T16:47:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Do not define member variables depending on C++ language support (#347)\n\nDo not define member variables depending on C++ language support to avoid ABI breakage.","shortMessageHtmlLink":"Do not define member variables depending on C++ language support (#347)"}},{"before":"bdd65c5c5f86bd3ac6eb5edab4b9e19efd3d6667","after":"a8c7e5bbbd08841836f9b92d72747fb8769dbec4","ref":"refs/heads/master","pushedAt":"2023-06-08T08:02:19.383Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Improve hashing for `gsl::byte` (#343)\n\nAlso, don't use `constexpr` in `hash<>` specializations.","shortMessageHtmlLink":"Improve hashing for gsl::byte (#343)"}},{"before":"479b92a3d1041a02bd5d14b87a4a9c8ca8d70df8","after":"bdd65c5c5f86bd3ac6eb5edab4b9e19efd3d6667","ref":"refs/heads/master","pushedAt":"2023-06-08T08:01:48.042Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Improve `finally()`, `on_return()`, and `on_error()` (#342)\n\nFor modern (≥v1) defaults, we now avoid the polymorphic hierarchy beween the state classes, and thus do without virtual function calls.\r\n\r\nFor C++17 and newer, we no longer have to support movability thanks to guaranteed copy elision.","shortMessageHtmlLink":"Improve finally(), on_return(), and on_error() (#342)"}},{"before":"2c8e534c0d9ad08277b4ea52d523d1ddf90aa902","after":"479b92a3d1041a02bd5d14b87a4a9c8ca8d70df8","ref":"refs/heads/master","pushedAt":"2023-06-07T22:34:29.613Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Support `not_null` (#341, thanks to @BenFrantzDale)\n\nAdd support for `not_null`. Casting is still unpleasant, though, because we cannot emulate the `static_cast<>()` to a typed pointer. We could define `gsl_lite::static_pointer_cast<>()` and the like to work around if the issue comes up again.\r\n\r\nI chose to implement `not_null<>::operator*()` through a mixin rather than using SFINAE, as this decreases the likelihood of ICEs with MSVC. As a result of the necessary refactoring, conditional checking on access is now handled through `not_null_accessor<>`, which also helps us get rid of the largely redundant `not_null` specialization.\r\n\r\nCloses #340.","shortMessageHtmlLink":"Support not_null<void*> (#341, thanks to @BenFrantzDale)"}},{"before":"13475be0e5bf5f464c398f4a07ef5c7684bc57c5","after":"2c8e534c0d9ad08277b4ea52d523d1ddf90aa902","ref":"refs/heads/master","pushedAt":"2023-04-18T13:02:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Refine comment\n\nThe semantics is actually unaffected; this is only about the warning.","shortMessageHtmlLink":"Refine comment"}},{"before":"755ba124b54914e672737acace6a9314f59e8d6f","after":"13475be0e5bf5f464c398f4a07ef5c7684bc57c5","ref":"refs/heads/master","pushedAt":"2023-04-18T12:53:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Cast `char` to `signed char` in range comparison (#338, thanks to @musicinmybrain)\n\nThe cast keeps our semantics consistent regardless of whether `char` is a signed or an unsigned type. It also helps avoid the \"-Wtype-limits\" warning on GCC.\r\n\r\n---------\r\n\r\nCo-authored-by: Moritz Beutel ","shortMessageHtmlLink":"Cast char to signed char in range comparison (#338, thanks to @mu…"}},{"before":"4d12d44fa934552123c77dd6ae325f742a213af4","after":"755ba124b54914e672737acace6a9314f59e8d6f","ref":"refs/heads/master","pushedAt":"2023-04-11T21:55:31.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Update Compiler Explorer and Wandbox links","shortMessageHtmlLink":"Update Compiler Explorer and Wandbox links"}},{"before":"3d12b11684df59efd2839f4062ad7afb8ae5138c","after":"4d12d44fa934552123c77dd6ae325f742a213af4","ref":"refs/heads/master","pushedAt":"2023-04-11T21:05:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Deprecate `string_span` and `zstring_span` and prepare for removal (#335)\n\n* Deprecate `string_span` and `zstring_span` and prepare for removal\r\n\r\n\"Prepare for removal\" meaning \"prepare hiding behind feature flag\" because\r\nwe don't actually remove anything at all if we can help it.\r\n\r\nFor `string_span` removal, see #6; for `zstring_span` removal, see #282.\r\n\r\nWe place the deprecated attributes on constructors, not on classes, to avoid\r\ndeprecation warnings in our own free unctions which take `basic_string_span<>`\r\nas an argument.","shortMessageHtmlLink":"Deprecate string_span and zstring_span and prepare for removal (#335"}},{"before":"3d0796c1fe363dc891a66646ef76c04d7cb0bd88","after":"3d12b11684df59efd2839f4062ad7afb8ae5138c","ref":"refs/heads/master","pushedAt":"2023-04-11T21:03:32.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Fix warning suppression for pre-modern VC++ (#336)\n\n* Move warning suppression that concerns the library itself to the main header file.\r\n\r\n* Move suppressions for the test suite to CMake to avoid interference of `#pragma` and PCH.","shortMessageHtmlLink":"Fix warning suppression for pre-modern VC++ (#336)"}},{"before":"c1067cd28d32378d7ab762b8c8e781361e6d6aa2","after":"3d0796c1fe363dc891a66646ef76c04d7cb0bd88","ref":"refs/heads/master","pushedAt":"2023-04-10T22:50:29.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Remove Travis CI; attempt to fix GCC test build (#334)\n\n* Remove Travis CI (no longer available for free)\r\n\r\n* Remove unsupported AppleClang versions from CI\r\n\r\n* Keep gsl-lite.t.hpp out of PCH\r\n\r\nPCH messes with `#pragma GCC diagnostic ignored` for some reason.\r\n(I think it must be the PCH because the problem doesn't appear for\r\nGCC on MacOS, where PCH is currently disabled.)\r\n\r\n* Of course the \"-Wweak-vtables\" warning also needs disabling in the unit tests.\r\n\r\n* No reason to exempt NVCC when suppressing host compiler diagnostics\r\n\r\n* Add another flag to avoid Valgrind/AVX2 interference","shortMessageHtmlLink":"Remove Travis CI; attempt to fix GCC test build (#334)"}},{"before":"13ed4b6330279f887915c540ae68bef53f648898","after":"c1067cd28d32378d7ab762b8c8e781361e6d6aa2","ref":"refs/heads/master","pushedAt":"2023-04-09T00:21:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Suppress some warnings for Clang and GCC (#332, thanks to @mrahn and @wirew0rm)\n\n* Enable \"-Wweak-vtables\" warning for Clang and \"-Wuseless-cast\" for GCC\r\n* Suppress these warnings inside gsl-lite.hpp for Clang and GCC\r\n* Sneak in some drive-by comment updates\r\n\r\nFixes #322 and #325.","shortMessageHtmlLink":"Suppress some warnings for Clang and GCC (#332, thanks to @mrahn and @…"}},{"before":"2453353f3b3bb55f561295246925ff5b981255ac","after":"13ed4b6330279f887915c540ae68bef53f648898","ref":"refs/heads/master","pushedAt":"2023-04-09T00:03:39.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Remove unsupported configurations from CI (#333)\n\n* Remove unsupported configurations from CI\r\n* Suppress GCC's \"-Wuseless-cast\" warning in test source files\r\n* Update CI platform list","shortMessageHtmlLink":"Remove unsupported configurations from CI (#333)"}},{"before":"7f786ee6954beb9fd42095d88e0def80ed9a711e","after":"2453353f3b3bb55f561295246925ff5b981255ac","ref":"refs/heads/master","pushedAt":"2023-04-08T21:46:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Minor fixes to comments [skip ci]","shortMessageHtmlLink":"Minor fixes to comments [skip ci]"}},{"before":"7d0043c37a86140ebe1825040d82cadcf3c18da2","after":"7f786ee6954beb9fd42095d88e0def80ed9a711e","ref":"refs/heads/master","pushedAt":"2023-04-08T21:29:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Add `gsl_CONFIG_VALIDATES_UNENFORCED_CONTRACT_EXPRESSIONS` config switch (#330)\n\nEven for discarded contract checks, gsl-lite will by default still verify that the contract check forms a valid Boolean expression by using the C++11 features `decltype()` and `static_assert()`. This may lead to problems if the contract check expression cannot be used in an unevaluated context, for instance, when using a lambda expression in C++11/14/17.\r\n\r\nThis commit introduces the configuration macro `gsl_CONFIG_VALIDATES_UNENFORCED_CONTRACT_EXPRESSIONS`, which defaults to `1`. To suppress the verification, define `gsl_CONFIG_VALIDATES_UNENFORCED_CONTRACT_EXPRESSIONS=0`.","shortMessageHtmlLink":"Add gsl_CONFIG_VALIDATES_UNENFORCED_CONTRACT_EXPRESSIONS config swi…"}},{"before":"cd4e5310668be2fb2400e65c1dc7064f580f1bdb","after":"7d0043c37a86140ebe1825040d82cadcf3c18da2","ref":"refs/heads/master","pushedAt":"2023-04-08T21:26:35.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Add tentative C++23 detection and `gsl_constexpr23` (#329)\n\n* Add detection for `CONSTEXPR_23` language feature\r\n* Add `gsl_constexpr23` which expands to `constexpr` if `gsl_HAVE( CONSTEXPR_23 )`, or to nothing otherwise\r\n* Add `gsl_CPP23_OR_GREATER` and `gsl_STDLIB_CPP23_OR_GREATER`\r\n* Add `std23` subnamespace","shortMessageHtmlLink":"Add tentative C++23 detection and gsl_constexpr23 (#329)"}},{"before":"452d37b40a3515fb3ac757660d1805a7f8864cb7","after":"cd4e5310668be2fb2400e65c1dc7064f580f1bdb","ref":"refs/heads/master","pushedAt":"2023-04-08T21:25:48.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mbeutel","name":"Moritz Beutel","path":"/mbeutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2574896?s=80&v=4"},"commit":{"message":"Respect libc++ configuration option to disable `wchar_t` (#331, thanks to @burnpanck)\n\nlibc++ can be configured not to support `wchar_t`. For example, the open-source LLVM toolchain for 32bit ARM is configured this way (refer to it's CMakeLists.txt). This commit sets `gsl_HAVE_WCHAR` correspondingly, allowing the library to be used in such toolchains.","shortMessageHtmlLink":"Respect libc++ configuration option to disable wchar_t (#331, thank…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADvWy4ZAA","startCursor":null,"endCursor":null}},"title":"Activity · gsl-lite/gsl-lite"}