groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [groff] hyphenation issues


From: Ralph Corderoy
Subject: Re: [groff] hyphenation issues
Date: Sat, 05 May 2018 12:02:42 +0100

Hi Keith,

> conventionally:
>
>   const int foo;
>
> is more common than:
>
>   int const foo;

Agreed.  Though that convention started before all the other bells and
whistles were added.

>   const char *foo;

foo is a pointer to a char that's const.

>   char const *foo;

foo is a pointer to a const char.

> (The former declares a mutable pointer to an immutable C-string;

Both the above two.

> the latter is an immutable pointer to a mutable C-string).

    char * const foo;

foo is a const pointer to char.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]