Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use perfect forwarding in the function adapter instead of wrapping it into two layers of absl::AnyInvocable#1765

Merged
copybara-service[bot] merged 1 commit into
mastercel-expr/cel-cpp:masterfrom
test_823963975cel-expr/cel-cpp:test_823963975Copy head branch name to clipboard
Oct 28, 2025
Merged

Use perfect forwarding in the function adapter instead of wrapping it into two layers of absl::AnyInvocable#1765
copybara-service[bot] merged 1 commit into
mastercel-expr/cel-cpp:masterfrom
test_823963975cel-expr/cel-cpp:test_823963975Copy head branch name to clipboard

Conversation

@copybara-service

Copy link
Copy Markdown

Use perfect forwarding in the function adapter instead of wrapping it into two layers of absl::AnyInvocable

The current implementation uses a type erased absl::AnyInvocable and then wraps it into another absl::AnyInvocable, which can be avoided by using a template and perfect forwarding.

@copybara-service copybara-service Bot force-pushed the test_823963975 branch 3 times, most recently from 428abc2 to 9196a3f Compare October 28, 2025 15:14
… into two layers of `absl::AnyInvocable`

The current implementation uses a type erased `absl::AnyInvocable` and then wraps it into another `absl::AnyInvocable`, which can be avoided by using a template and perfect forwarding.

PiperOrigin-RevId: 825059992
@copybara-service copybara-service Bot merged commit 7519eb1 into master Oct 28, 2025
@copybara-service copybara-service Bot deleted the test_823963975 branch October 28, 2025 15:51
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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.