Boost logo

Boost :

From: рустам абдумаликов (vigosslive2_at_[hidden])
Date: 2019-11-08 22:05:12

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++
Please take a look and leave your comments.

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:


Best Regards
Rustam Abdumalikov

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