Opened 16 years ago

Last modified 12 years ago

#799 new Feature Requests (None)

mpl::if_ — at Initial Version

Reported by: nobody Owned by: nobody
Milestone: Boost 1.46.0 Component: mpl
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc: joel.falcou@…

Description

There is an alternative implementation of mpl::if.
This implementation makes code clearer.

We can write:
typename if_
<
  X,
  Y
>
::else_if
<
  Z,
  U
>
::else_
<
  V
>::type

The implementation can be found here:
http://cbear.berlios.de/meta/if.hpp

Change History (0)

Note: See TracTickets for help on using tickets.