Boost logo

Boost :

From: Edward Diener (eldiener_at_[hidden])
Date: 2019-11-09 17:03:32

On 11/8/2019 5:05 PM, рустам абдумаликов via Boost wrote:
> Hi All,
> First attempt kind of failed due to alignment:(
> So this is another one)
> So I wrote a library eswitch which provides enhanced functionality for C++
> switch.
> Please take a look and leave your comments.
> Motivation:
> To overcome native switch limitations:
> 1) one parameter per switch
> 2) the parameter restricted to only integral types( int, char, enum ... )
> Whereas "eswitch" supports any number of parameters and almost without
> restriction on their type, as long as the type is comparable( i.e. has
> operator== ).
> Why it is important?
> Because people want to overcome current switch limitation either by
> implementing their own solution, non-standard extension or even trying to
> standardize it.
> Making proposed eswitch functionality part of the Boost-Library will
> provide millions of developers useful, universal and agile functionality in
> order to finally fulfill their needs.
> Full proposal here:
> Repository:

I have not looked at your docs or code but I think the idea of a
multi-parameter, multi-type switch construct would be useful to many

> Best Regards
> Rustam Abdumalikov

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