Boost logo

Boost :

From: Darren Cook (darren_at_[hidden])
Date: 2005-07-25 18:26:33

> The new Perl 6 has a nice feature called junctions. See
> ...

I'm interested: this has been on my language wishlist for years.

At the time I did something crude with regexes to pre-process C++ code,
but realized I needed a full C++ parser, so the project got shelved.

I also wanted to be able to have ranges, e.g.
  if( x == any(0..9) ) {...}
  else if( x == any(10..99,SPECIAL1,SPECIAL2) ) {...}
  else { assert(x==NOT_SET); }

I've not looked at your code yet, but could it (theoretically) be
expanded to cover the above syntax?


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