Joe Pfeiffer
6/30/2011 2:39:00 AM
Seebs <usenet-nospam@seebs.net> writes:
> On 2011-06-29, Joe Pfeiffer <pfeiffer@cs.nmsu.edu> wrote:
>> I hadn't seen that standard before; I don't see where it says modifying
>> a const must generate a run-time error.
>
> It doesn't.
>
> It says that it *is* undefined behavior, which can reasonably be
> called " a run-time error", it's just that one possible manifestation
> of this error is that nothing unexpected happens.
Hmmm..... from my background, "run-time error" means an exception is
raised.