>>Not unless there's a 'notconst' keyword or something.  I've tried
>>getting rid of these, and as far as I can tell it's impossible.  If
>>you've got something like
>>
>>         void foo(STRING* arg);
>>
>>         void bar(const STRING* arg) {
>>                 foo(arg);

There is a notconst keyword, empty string. ;)

const says, "if you so choose you may stick this into
a protected segment or ROM". If it was ROM on an
embedded, you might not even crash, but simply fail
to modify the variable.

-Melvin

Reply via email to