Learn CPlusPlus | What is Explicit Specifier?

Explicit Specifier Specifies that a constructor or conversion function is explicit, it cannot be used for implicit conversions and copy-initialization. It can be used with a constant expression, where the function is explicit when the constant expression evaluates to true. If you want to explore more about What is Explicit Specifier? take a look at this blog.