Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-06-24 07:46:56

On Monday 24 June 2002 01:41 am, Dylan Cuthbert wrote:
> Hello there,
> Is there an equivalent for Loki::Select (selection between two classes
> based on a constant bool) in boost? I have trawled a few mailing lists and
> of course the boost website but don't seem to be able to find mention of
> it.

You can use ct_if in boost/pending/ct_if.hpp. It's not an accepted Boost
library, but it's a detail that's been there for a quite a while. MPL will
also have the same functionality, although under a different name.


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