Boost logo

Boost Users :

Subject: Re: [Boost-users] C++ guru required!
From: Nevin Liber (nevin_at_[hidden])
Date: 2012-02-27 01:15:53


On 26 February 2012 23:10, Robert Ramey <ramey_at_[hidden]> wrote:

> **
> whatever I said - what I mean is illustrated by the following
>
> if(0){
> ; // not checked by the compiler
> }
>
>

When you specify what you mean by "not checked by the compiler", then we'll
talk. :-) Until you do, it is trivial to poke holes in it. For instance:

if (0)
{
  Fire Fire Fire! (note: this line is NOT a C++ comment)
  if (ShouldTheIf0OnlyGoToTheFirstEndBraceItFinds())
  {
  }
  LaunchTheMissiles();
  if (0) {
}

Did you really mean to launch the missiles?

-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  (847) 691-1404


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net