|
|
1.1 ! root 1: ! 2: ! 3: const C Keyword const ! 4: ! 5: ! 6: ! 7: ! 8: Qualify an identifier as not modifiable ! 9: ! 10: ! 11: The type qualifier const marks an object as being unmodifiable. ! 12: An object declared as being const cannot be used on the left side ! 13: of an assignment (an _l_v_a_l_u_e), or have its value modified in any ! 14: way. Because of these restrictions, an implementation may place ! 15: objects declared to be const into a read-only region of storage. ! 16: ! 17: ***** See Also ***** ! 18: ! 19: C keywords, volatile ! 20: ! 21: ***** Notes ***** ! 22: ! 23: Mark Williams C recognizes this keyword, but its semantics are ! 24: not yet implemented. Thus, storage declared with the const ! 25: qualifier will _n_o_t be treated as unmodifiable by the compiler, ! 26: and no warnings will be generated. ! 27: ! 28: ! 29: ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.