Boost logo

Boost :

Subject: [boost] limit symbol names of fusion::vector
From: Christian Holmquist (c.holmquist_at_[hidden])
Date: 2008-11-14 11:28:46


Hi,

I'm using
fusion::result_of::as_vector<some_mpl_transform_view>::type

quite frequently, but having troubles with extremely long type names (our
vc8.pdb are close to 0.5 Gb).

Is there any way in fusion like in mpl, where one can do
mpl::vector<a, b, c>::type
                                ^^
which gives the shorter name
mpl::vector3<a, b, c> instead of
mpl::vector<a, b, c, na, na, na, ...>

In essence, can I have fusion::vector2<int, float> from the following:

fusion::result_of::as_vector<mpl::vector<int, float>::type >::type

Thanks for a great lib!

/ Christian


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