Skip to content

remove type specifiers before conceptify#40

Merged
kris-jusiak merged 1 commit intoboost-ext:masterfrom
jimkoen:master
Jan 20, 2024
Merged

remove type specifiers before conceptify#40
kris-jusiak merged 1 commit intoboost-ext:masterfrom
jimkoen:master

Conversation

@jimkoen
Copy link
Contributor

@jimkoen jimkoen commented Jan 20, 2024

Something like a typed concept is ill formed and doesn't make sense anyway since it's not a type.

Problem:

When using conceptify on Clang 16.0.6, compilation will fail with:

te.hpp:571:14: error: ISO C++ does not permit the 'bool' keyword after 'concept'
concept bool var = requires {
             ^
te.hpp:577:14: error: ISO C++ does not permit the 'bool' keyword after 'concept'
concept bool conceptify = requires {

Solution:

Remove the bool keyword in front of the two concepts, as they are not types.

Something like a typed concept is ill formed and doesn't make sense anyway since it's not a type.
@kris-jusiak kris-jusiak merged commit ad3aec8 into boost-ext:master Jan 20, 2024
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