On 07/20/2011 05:32 PM, Ed Smith-Rowland wrote:
Now I have a real question: Since a shadowed suffix *cannot* act like the user wants no matter what, should I error instead of warn?
It doesn't seem any more erroneous than any other suffix without a leading underscore, even though it isn't very useful. But it can still be called directly by operator name.
But on a related topic, I think complaining about suffixes without a leading underscore should not depend on OPT_pedantic; it should only be silenced if in_system_header.
Jason