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
Literate Programming tool Interscript

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