Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-10 13:07:49


Larry Evans <cppljevans_at_[hidden]> writes:

> I see in libs/mpl/preprocessed/pp.py there's:
>
> self.output.write( \
> '\n%s\n' \
> '// Preprocessed version of "%s" header\n' \
> '// -- DO NOT modify by hand!\n\n' \
> % ( self.copyright, match.group(1) )
> )
>
> and I've tried to understand from the rest of the *.py how to
> do it, but I would be a lot easier with some guidance from the
> authors. What I need to do is change:
>
> vectorX_c< T,C0 >
>
> to:
>
> vectorX_c< T,T(C0) >
>
> for each X=1...
>
> This would allow the use of an enumeration for C0.

In libs/mpl/preprocessed/ do

   python preprocess.py

And it should tell you everything you need to know.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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