From: Rob Stewart (stewart_at_[hidden])
Date: 2005-09-19 16:03:06
From: "Marcin Kalicinski" <kalita_at_[hidden]>
> >Interesting. I'd have thought that calling __assume(0) was
> >useless, but it tells the optimizer that the else clause won't
> >occur. I wonder if that will work at all or as well as
> >BOOST_ASSERT(e); __assume(e);
> It's not useless, see my previous posts in the thread for examples of code
> generated with and without __assume(0).
I said "I would have thought [it] was useless." However, I
consulted the documentation and found that it was useful. That's
why I said it was "interesting."
-- Rob Stewart stewart_at_[hidden] Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;