$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-07-04 13:35:57
Bronek Kozicki wrote:
> Kevin Sopp wrote:
>> The compiler cannot check that the right tag is used since
>> information is added to the exception at runtime, so you're still
>> vulnerable to typos. That means you would still have to either put
>> the tags
>
> you only declare them; and if you used different name than declared,
> compiler will catch that error.
No, it will not, unless I'm misunderstanding something. You either have
coupling and static checking, or you have no coupling and no static
checking; strings or tags make no difference. A tag is just a compile-time
string.