Skip to content
  • Friedrich W. H. Kossebau's avatar
    Make const string (arrays) really const · f034826e
    Friedrich W. H. Kossebau authored
    "const char *x" is still a variable just pointing to const chars,
    x = anotherconststring; still possible
    "const char x[]" or "const char * const x" is a const itself,
    x = anotherconststring; no longer possible and one indirection less when
    accessing the data
    f034826e