Boost logo

Boost Users :

Subject: Re: [Boost-users] mpl/fusion: metafunction to 'rangify'
From: Christopher Schmidt (mr.chr.schmidt_at_[hidden])
Date: 2009-12-22 17:49:55

Hicham Mouline schrieb:
> I am making small progress in my attempt to generate a new mpl sequence
> that I will use to read from a stream.
> The following code fails to compile:

You should work with a copy of fusion's trunk. See

for more information.
Unfortunately there is another problem. mpl::transform internally
instantiates mpl::clear. Fusion's implementation of mpl::clear only
works for the built-in container. I think fusion's mpl::clear should
rather forward to fusion::clear and fusion::clear should return a
simple, empty container that models the same category as the sequence to
be cleared. At the moment, fusion::clear returns fusion::vector0<> in
any case.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at