C++26: Ordering of constraints involving fold expressions 0 ▲ Sandor Dargo's Blog 186 days ago · Tech · hide · Fediverse post You have two overloads of g(). One requires A<T> for each element in a pack, the other requires C<T> — where C is a stricter concept that subsumes A. Both apply to the types you’re passing. The compiler should pick the more constrained version. But instead it complains about an ambiguous call. This is a limitation of how C++20 and 23 handle constraints that use fold expressions — f... Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town