Boost logo

Boost Announcement :

From: Stjepan Rajko (stipe_at_[hidden])
Date: 2008-01-05 12:44:05

The review of the Switch library by Steven Watanabe begins today.


The built in C/C++ switch statement is very efficient. Unfortunately,
unlike a chained if/else construct there is no easy way to use it when
the number of cases depends on a template parameter. The Switch
library addresses this issue.

You can download the library from the Boost Vault:

For convenience, the docs have been uploaded here:

... and the source file here:

What to include in Review Comments

Your comments may be brief or lengthy, but basically the Review
Manager needs your evaluation of the library. If you identify
problems along the way, please note if they are minor, serious, or

Here are some questions you might want to answer in your review:

    * What is your evaluation of the design?
    * What is your evaluation of the implementation?
    * What is your evaluation of the documentation?
    * What is your evaluation of the potential usefulness of the library?
    * Did you try to use the library? With what compiler? Did you
have any problems?
    * How much effort did you put into your evaluation? A glance? A
quick reading? In-depth study?
    * Are you knowledgeable about the problem domain?

And finally, every review should answer this question:

    * Do you think the library should be accepted as a Boost library?
Be sure to say this explicitly so that your other comments don't
obscure your overall opinion.

Thanks to Dan Marsden, Larry Evans, Tobias Schwinger, and Alexander
Nasonov for already opening up the discussion in the following
threads: [nabble/boost-user] [nabble/boost-dev]

Thank you for taking the time to look into this library, and I hope
that some of you will be able to provide a full review for it.



Boost-announce list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at