On 07/07/2014 11:15 AM, Paolo Carlini wrote:
+ error ("only declarations can be marked %<explicit%>");
That's pretty unclear, since a definition is a declaration.Let's split this into three error messages: If the problem is that we're outside the class, we should say that. If the problem is that it's not a constructor or conversion function, we should say that. If the problem is that it's not a member of the current class, we should say that.
Jason