
16 Mar
2010
16 Mar
'10
8:34 a.m.
Christian Holmquist wrote:
Hi,
The following meta program compiles, except for the last (commented) line. I expected it to work since it does so for the mpl::vector case. Any ideas what I am doing wrong here?
#include
#include
changing this to #include
typedef typename mpl::insert
::type type; };
AFAICT insert<> is supposed to work on extensible associative sequences, maybe a mpl::vector has been extended to support that concept, but a fusion vector might not be. HtH, Cheers, Rutger