[Fusion] is mpl::insert supported for fusion::vector?

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

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
participants (2)
-
Christian Holmquist
-
Rutger ter Borg