Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] Non-default initialisation of sequence components.
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-09-13 11:49:04


AMDG

Hugh Dickinson wrote:
> I'm wondering if there is a (built-in) way in boost::fusion to instantiate a sequence of heterogeneous elements while passing an identical set of arguments to the constructor of each element? It seems like the only options are to default construct the elements or to supply references to previously constructed elements.
>

I believe that there's a trac ticket for allowing the
use of boost::in_place_factory with fusion. As far as
I know, this isn't implemented yet, though.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net