Commit graph

4 commits

Author SHA1 Message Date
Carson Radtke
417ef685ea
Prevent external construction of checked iterators (#1263)
Some checks failed
Compiler Integration Tests / msvc (Debug, 14, -G "Visual Studio 18 2026" -T ClangCL, windows-2025, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 17, , windows-2022, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 17, , windows-2025, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 17, -G "Visual Studio 17 2022" -T ClangCL, windows-2022, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 17, -G "Visual Studio 18 2026" -T ClangCL, windows-2025, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 20, , windows-2022, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 20, , windows-2025, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 20, -G "Visual Studio 17 2022" -T ClangCL, windows-2022, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 20, -G "Visual Studio 18 2026" -T ClangCL, windows-2025, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 23, , windows-2022, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 23, , windows-2025, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 23, -G "Visual Studio 17 2022" -T ClangCL, windows-2022, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Debug, 23, -G "Visual Studio 18 2026" -T ClangCL, windows-2025, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 14, , windows-2022, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 14, , windows-2025, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 14, -G "Visual Studio 17 2022" -T ClangCL, windows-2022, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 14, -G "Visual Studio 18 2026" -T ClangCL, windows-2025, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 17, , windows-2022, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 17, , windows-2025, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 17, -G "Visual Studio 17 2022" -T ClangCL, windows-2022, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 17, -G "Visual Studio 18 2026" -T ClangCL, windows-2025, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 20, , windows-2022, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 20, , windows-2025, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 20, -G "Visual Studio 17 2022" -T ClangCL, windows-2022, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 20, -G "Visual Studio 18 2026" -T ClangCL, windows-2025, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 23, , windows-2022, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 23, , windows-2025, msvc) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 23, -G "Visual Studio 17 2022" -T ClangCL, windows-2022, ClangCL) (push) Has been cancelled
Compiler Integration Tests / msvc (Release, 23, -G "Visual Studio 18 2026" -T ClangCL, windows-2025, ClangCL) (push) Has been cancelled
Compiler Integration Tests / windows-sanitizer (push) Has been cancelled
* Prevent external construction of checked iterators

Keep iterator state constructors private to span and dyn_array so callers cannot fabricate bounds metadata.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* clang-format

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-25 14:57:48 -06:00
Carson Radtke
b4fa05c287
Ensure iterators convert to const iterators (#1264)
* Ensure iterators convert to const iterators

Add compile-time coverage for dyn_array and span iterator conversions, and implement the missing dyn_array conversion.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Format const iterator changes

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-25 11:29:38 -06:00
Carson Radtke
5230b7ea0e
ci: fix failing actions (#1255)
* ci: windows-2025 image -> use VS2026

For more info: https://github.com/actions/runner-images/issues/14017

* ci: macos -> use xcode 26.6

For more info: https://github.com/actions/runner-images/issues/13345

* fix -Wnrvo instance in dyn_array

* suppress build error in gtest w/ clangcl

* Drop Android and iOS support
2026-08-19 16:00:04 -06:00
Carson Radtke
a75212b9f3
feat: implementation of gsl::dyn_array (#1228)
* feat: implementation of gsl::dyn_array

Implement gsl::dyn_array<T, Allocator> as specified by the
CppCoreGuidlines here:
https://github.com/isocpp/CppCoreGuidelines/blob/master/docs/dyn_array.md

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-07-13 14:53:09 -06:00