Boost logo

Boost Users :

Subject: [Boost-users] Forwarding ctor calls in fusion sequence
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2012-05-07 09:11:45


Say I have a fusion vector of different types with a constructor taking
an int.
eg:

fusion::vector< std::vector<double>, std::vector<int> >

and I have such a type as a member of a class foo.
Now class foo has a constructor taking an int and I want to
forward this parameter to all constructor of my fusion sequence
member.

Is there a C++03 way to do this with minimal amount of copying ?



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