Repository navigation
Add iterator header to string_util.cpp - #395
Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit intoNov 2, 2026
Merged
Conversation
hussainjaffery
requested review from
cataphract
and removed request for
a team
November 2, 2026 15:18
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
More details
The added include directly declares std::back_inserter, removing the transitive-header dependency behind the reported libc++ 23 build failure.
🤖 Bits Code Review · Commit 05ac33f
cataphract
approved these changes
Nov 2, 2026
|
gh-worker-dd-mergequeue-cf854d
Bot
merged commit Nov 2, 2026
b225425
into
DataDog:main
27 of 35 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
src/datadog/string_util.cppusesstd::back_inserterbut doesn't include<iterator>. This adds the include.Motivation
The file compiled only because another standard header happened to include
<iterator>. In libc++ 23 (LLVM 23), that's no longer the case, so building dd-trace-cpp with it fails withno member named 'back_inserter' in namespace 'std'.Additional Notes
Found while moving a project to LLVM 23.1.2. Building with libc++ 23 fails without this change and succeeds with it.
References
Jira ticket: LVSRCH-1606
Contributor Checklist