This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[using gcc book] ch5.25 declaring attributes of functions


In section 5.25, the description of the 'const' attribute notes:

    Many functions do not examine any values except their
    arguments, and have no effects except the return value.
    Basically this is just slightly more strict class than
    the @code{pure} attribute above, since function is not
    allowed to read global memory.

I've rewritten that second sentence as

    This case is slightly more strict than the @code{pure}
    attribute above, since the function is not allowed to
    read global memory.

-- 
Chris Devers      cdevers@pobox.com
http://devers.homeip.net:8080/blog/

upgrade, n. & v. trans. [From up + Latin gradus "steep incline."]
1 n. An expensive counterexample to earlier upward-compatibility
  conjectures.
2 n. A painful crisis which belatedly restores one's faith in the
  previous system.
3. v. trans. To replace (obsolete stability) with something less boring.
See also APPLE; CONVERSION; OBSOLESCENCE; RIGHTSIZE; SIDEGRADE.

    -- from _The Computer Contradictionary_, Stan Kelly-Bootle, 1995


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]