Skip to content
UPEEC

SFINAE

"Substitution Failure Is Not An Error": invalid template substitutions remove an overload instead of failing.

Expert
Comments 0

The pre-C++20 way to constrain templates via std::enable_if. Prefer concepts in new code.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.