Skip to content

Add methods to check for constructors without generating them.#568

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_876343207
Mar 3, 2026
Merged

Add methods to check for constructors without generating them.#568
copybara-service[bot] merged 1 commit intomainfrom
test_876343207

Conversation

@copybara-service
Copy link

Add methods to check for constructors without generating them.

I want to be able to determine from a type (without having to turn it
into an AdtCoreBindings) if it has a move ctor/relocating ctor/etc. To
do this I've split out the logic for determining ctor from actually
generating them, so that you can ask if a type has a ctor.

@copybara-service copybara-service bot force-pushed the test_876343207 branch 2 times, most recently from d7a5dca to 6a07ee3 Compare March 3, 2026 17:18
I want to be able to determine from a type (without having to turn it
into an AdtCoreBindings) if it has a move ctor/relocating ctor/etc. To
do this I've split out the logic for determining ctor from actually
generating them, so that you can ask if a type has a ctor.

PiperOrigin-RevId: 877983984
@copybara-service copybara-service bot merged commit 52b2463 into main Mar 3, 2026
@copybara-service copybara-service bot deleted the test_876343207 branch March 3, 2026 17:21
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