Boost logo

Boost :

From: John Max Skaller (skaller_at_[hidden])
Date: 2001-08-27 14:10:40


Douglas Gregor wrote:

> Back on topic... It is possible to rearrange the syntax of the variant_switch
> a little bit. We could use vswitch and vcase in a manner similar to C's
> switch/case:
>
> vswitch(v) (
> vcase<T1>(action1)
> | vcase<T2>(action2)
> | vcase<T3>(action3)
> );

        I'm not sure what you're meaning here. Are you suggesting
a change to the C++ language? I thought you were trying to
use existing features.

-- 
John (Max) Skaller, mailto:skaller_at_[hidden] 
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
New generation programming language Felix  http://felix.sourceforge.net
Literate Programming tool Interscript     
http://Interscript.sourceforge.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk