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++
> 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:
> Repository: https://github.com/rabdumalikov/eswitch_v4
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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk