From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-24 15:27:40


----- Original Message -----
From: "Andrei Alexandrescu" <andrewalex_at_[hidden]>

> By the way, in the end I settled on:
>
> #define STATIC_ASSERT_MSG(b, msg) \
> { \
> struct msg \
> { \
> msg(::boost::loki::int2type<true>) {} \
> } msg((::boost::loki::int2type<(b) != 0>())); \
> }
>
> which works like a charm. The way things seem to be, though, it looks like
> nobody would be interested in adding something like that to boost.

Why do you say that? It sounds useful to me!