Boost logo

Boost :

Subject: Re: [boost] [assert] static_assert envy
From: Robert Kawulak (robert.kawulak_at_[hidden])
Date: 2011-01-18 16:46:47

> From: Thomas Klimpel
> So I have to dig into the details of BOOST_ASSERT_IF_MSG and BOOST_ASSERT to
> understand the code.

Yes, but you do it only once and from then on it's easy. On the contrary, with the longish boolean expressions you have to stop and
think each time you encounter them to understand the code. After all, this is what abstraction in programming is all about - to give
labels to common patterns to simplify their implementation and comprehension. You have to learn the labels, but then it's much
easier to grasp the code.

Best regards,

Boost list run by bdawes at, gregod at, cpdaniel at, john at