https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103049

--- Comment #2 from W E Brown <webrown.cpp at gmail dot com> ---
(In reply to Marek Polacek from comment #1)
> Patch on review.

In the proposed patch, I respectfully recommend a slight rewording of the new
pedwarn messages in gcc/cp/semantics.c and gcc/cp/typeck2.c:

  either s/only available with/available only with/
  or     s/only available with/unavailable without/
  or     s/only available with/requires/

would emphasize the required flag rather than focus on the feature's
availability.  (FWIW, of the above suggestions, the last ["requires"] seems to
me the most direct and simplest to understand.)

Thank you.

Reply via email to