Re: Const correctness?

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
On Fri, 17 Feb 2017 09:01:44 -0800, Bryce Harrington wrote:

> Perhaps at that time the usefulness of
> const'ing parameters was not held as a consensus of the developers at
> that time.

You have to distinguish between interface and implementation. C doesn’t
offer any way to say that any modifications to the object are not
visible to the user.
-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.