Boost logo

Boost :

From: Cromwell Enage (sponage_at_[hidden])
Date: 2004-09-24 14:01:45

--- Ian McCulloch <ianmcc_at_[hidden]>
> Hi,


> Is the following program supposed to compile with
> the new MPL?

Probably not.

> But, maybe I was mis-using equal_to ?

equal_to<...> no longer accepts bool_<...> or any
expressions resulting in bool_<...> as a template
argument, since bool_<...> does not contain a typedef
named tag (for numeric_cast<...>). I don't have the
MPL book, so I don't know the rationale behind it, but
working around it should be as simple as an
eval_if<...> statement.

                              Cromwell Enage

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

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