|
Boost Users : |
Subject: [Boost-users] PP: commas issues
From: MM (finjulhich_at_[hidden])
Date: 2012-02-29 10:11:18
Hi,
I am trying to generate a list of instances of the same template with
different pairs of args, to populate a mpl container, with PP
so, mpl::vector< tmpl<A::x,A::y>, tmpl<B::x,B::y>, tmpl<C::x, C::y> >
i'm having trouble with the commas.
I successfully generate the pp sequence
(tmpl<A::x,A::y>)(tmpl<B::x,B::y>) (tmpl<C::x, C::y>)
but from this to get the enumeration, it's impossible using SEQ_ENUM,
because the sequence contains commas
MM
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