Re: incorrect use of 'pure' attribute

Paul Eggert <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs
Message-ID <[email protected]>
On 8/7/26 19:36, Sam James wrote:
> __eloop_threshold isn't const and a comment
> acknowledges this.

Actually, the comment says that __eloop_threshold is validly marked 
'const' even though it uses memory and calls a function, because its 
return value is unaffected by the memory use and the function call.

If the comment is incorrect it'd be interesting to know why.
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.