On top of the conditional explicit specifier, C++20 gave us another tool for better control over implicit conversions.
Concepts can prevent or limit the scope of implicit conversions on the accepting side.
Click to open in Compiler Explorer.
Leave a comment