Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace is_incomplete_type with is_complete_type #90

Conversation

delimbetov
Copy link

Describe your changes
In P2996r5 is_incomplete_type was removed in favour of is_complete_type.
This PR implements the change.

Testing performed
There were tests already, I just had to make them work with the new interface.
Most of the changes are conversions of is_incomplete_type to ! is_complete_type.
However for the reflections of non-types, both old and new version of the function returns 'false'.

@delimbetov delimbetov marked this pull request as ready for review August 22, 2024 16:22
@katzdm
Copy link
Collaborator

katzdm commented Aug 23, 2024

Looks great - unfortunately, I threw a bunch of merge conflicts at you :(

Basically every ^expr in the tests should be ^^expr now.

Signed-off-by: delimbetov <[email protected]>

# Conflicts:
#	libcxx/test/std/experimental/reflection/define-class.pass.cpp
#	libcxx/test/std/experimental/reflection/entity-classification.pass.cpp
#	libcxx/test/std/experimental/reflection/p2996-ex-compile-time-ticket-counter.pass.cpp
#	libcxx/test/std/experimental/reflection/substitute.pass.cpp
Signed-off-by: delimbetov <[email protected]>
@delimbetov
Copy link
Author

Looks great - unfortunately, I threw a bunch of merge conflicts at you :(

Basically every ^expr in the tests should be ^^expr now.

@katzdm fixed : )

@katzdm katzdm merged commit 3ee03ae into bloomberg:p2996 Aug 23, 2024
8 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