[PATCH] libstdc++: Clarify that _S_ prefix is be used for static member functions.

Jonathan Wakely jwakely.gcc@gmail.com
Fri Apr 18 09:09:23 GMT 2025


On Fri, 18 Apr 2025, 08:41 Tomasz Kamiński, <tkaminsk@redhat.com> wrote:

> libstdc++-v3/ChangeLog:
>
>         * doc/xml/manual/appendix_contributing.xml: Add 'and functions'.
> ---
> OK for trunk?
>

OK, thanks.


>  libstdc++-v3/doc/xml/manual/appendix_contributing.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libstdc++-v3/doc/xml/manual/appendix_contributing.xml
> b/libstdc++-v3/doc/xml/manual/appendix_contributing.xml
> index ac607fcfad4..b9245453497 100644
> --- a/libstdc++-v3/doc/xml/manual/appendix_contributing.xml
> +++ b/libstdc++-v3/doc/xml/manual/appendix_contributing.xml
> @@ -895,7 +895,7 @@ indicate a place that may require attention for
> multi-thread safety.
>
>        Examples:  <code>_M_num_elements  _M_initialize ()</code>
>
> -      Static data members, constants, and enumerations:
> <literal>_S_.*</literal>
> +      Static data and function members, constants, and enumerations:
> <literal>_S_.*</literal>
>
>        Examples: <code>_S_max_elements  _S_default_value</code>
>
> --
> 2.49.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250418/0cf799a6/attachment-0001.htm>


More information about the Libstdc++ mailing list