
----- Original Message ----- From: "Dominique Devienne" <ddevienne@gmail.com> To: <boost-users@lists.boost.org> Sent: Tuesday, January 26, 2010 12:58 AM Subject: Re: [Boost-users] BOOST_FUSION_ADAPT_STRUCT: non intrusive macro,get a fusion sequence of struct member types and member names
On Mon, Jan 25, 2010 at 4:54 AM, joel falcou <joel.falcou@lri.fr> wrote:
name will obviously be char* and you can't have that in a template parameter.
Unless using mpl::string, no? Not sure it's possible to generate mpl::string<'foob','ar'> from "foobar" passed to the macro though. --DD
Then we could have metafunctions template <int N, typename Sequence> struct name_at_c { typedef <undefined> type; // this would be a mpl::string }; this would be at compile time. rds,