$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [function_types] About parameter_types
From: Olivier Tournaire (olitour_at_[hidden])
Date: 2010-01-30 03:45:57
Hi all,
I am trying to extract the parameters types of a given function/functor in a
mpl sequence. Digging boost libraries, I came across function_types, and in
particular parameter_types, which might be the right tool. However, I cannot
figure how to use it. Could you please help ?
Suppose I have:
void foo(int, double);
And would like to generate the following sequence:
mpl::vector<int, double>
How can I do that ?
Regards,
Olivier