On Jun 13, 2011, at 8:17 AM, Richard Smith wrote:

>>>     "declaration in dependent base class">;
>>> +def err_not_found_by_two_phase_lookup : Error<"call to function %0 that
>>> is neither " +    "visible in the template definition nor found by
>>> argument dependent lookup">;
>> 
>> "argument-dependent" should be hyphenated here. :-)
> 
> Well, now that you mention it... :)
> 
> The C++ standard is inconsistent on the hyphenation (the hyphenated form
> has more appearances) but the unhyphenated form is the form with a
> definition (see [basic.lookup.argdep]p3). And g++ (trying, but failing, to
> be helpful) has a diagnostic 'argument dependent lookup finds ClassName'.
> 
> I think the message is clear either way: I'd be happy with any colour for
> this bikeshed. But I propose no change. ;)

argument-dependent (with hyphenation) is proper english :)

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to