Category "c++-concepts"

Is there a simpler way to write a concept that accepts a set of types?

Essentially, is there a shorter/cleaner way to define Alphabet than using a bunch of std::same_as/std::is_same? struct A {}; struct B {}; struct C {}; ... temp

Is constrained auto cast valid?

Since C++20, the constrained auto is introduced by: Concept auto identifier = init Which means, for instance: std::integral auto x = 10; is valid. Also, for n