$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Sebastian Weber (sebastian.weber_at_[hidden])
Date: 2008-04-04 07:34:50
Hi there!
The fusion library seems to be the choice for handling tuple-like data
in C++. However, for some reasons I would like to be able to transform a
fusion vector into a pod object. Something like:
fusion::vector<int, double, float> myVec;
SOME_MAGIC_ADAPTER_MACRO(myVec)
The macro or whatever should then turn the vector into
struct myVec_pod {
int v1;
double v2;
float v3;
};
or similar. Is this possible?
Greetings,
Sebastian Weber