| From: Andrew Cagney <[email protected]> | On Thu, 20 Feb 2020 at 15:59, D. Hugh Redelmeier <[email protected]> wrote: | > | > | From: Andrew Cagney <[email protected]> | | > If one declares all possible struct fd * things const, the absence of | > const highlights where references could go wrong. | | Why?
Those are the only places that can (directly or indirectly) change a reference count. | > "const" generally helps a reader and a compiler understand a program | > better. | | It says don't write to these non-opaque contents. It says: I (directly or indirectly) use the thing but don't change it. _______________________________________________ Swan-dev mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan-dev
