Boost logo

Boost Users :

Subject: Re: [Boost-users] make_argpack(vec_kwd, make_vector(arg[0], ..., arg[n-1]))
From: er (erwann.rogard_at_[hidden])
Date: 2009-03-31 23:19:05


Upon reflexion, my problem boils down to finding a metafunction that
maps an mpl sequence, such as

  typedef mpl::vector<tag1,...,tagn> input;

to the template class boost::parameter::parameters instantiated with
the elements of that sequence, each wrapped with required:

   typedef parameter::parameters<
     required<tag1>,
     ...
     require<tagn>
> output;

The implementation of parameter::parameters uses a macro so unless I'm
willing to/can generate input with macro it seems like a dead end. Correct?


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