Skip to content

avoid undefined behavior: - #528

Merged
stefanseefeld merged 1 commit into
boostorg:developfrom
mborgerding:ndarray_from_data_UB_fix
Aug 24, 2026
Merged

avoid undefined behavior:#528
stefanseefeld merged 1 commit into
boostorg:developfrom
mborgerding:ndarray_from_data_UB_fix

Conversation

@mborgerding

Copy link
Copy Markdown
Contributor

Calling front() on a possibly empty std::vector can crash systems that use debug checks.
See issue #526

calling `front()` on a possibly empty `std::vector` crashes systems that use debug checks.
See github issue boostorg#526

boostorg#526
@stefanseefeld
stefanseefeld merged commit 9b2f967 into boostorg:develop Aug 24, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants