|
Boost : |
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2007-02-02 14:31:45
Hi Steven!
On 2/3/07, Steven Watanabe <steven_at_[hidden]> wrote:
> AMDG
>
> Is there any interest in a function template that generates a switch
> statement?
>
I've been working on something pretty similar, but is dynamic and can
use not only int's as the "indexes". More information at
http://dispatcher.sourceforge.net/ .
I'm currently in the process of cleaning up the implementation using
Boost.PP, but there's already stuff there that's usable for a "switch
replacement" scenario.
HTH!
-- Dean Michael C. Berris http://cplusplus-soup.blogspot.com/ mikhailberis AT gmail DOT com +63 928 7291459
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk