I'm about to make a boost::fusion::map<boost::fusion::pair<int, boost::fusion::vector<>>> object, but the following code won't be compiled.
#include <boost/fusion/include/make_map.hpp>
#include <boost/fusion/include/make_vector.hpp>
int main() {
boost::fusion::make_map<int>(boost::fusion::make_vector());
}
You can try it here: https://wandbox.org/permlink/9t5X0yHFBW5eZ2xC
Since boost::fusion::map looked to be doing something special if passed data is sequence, I took a look at the document but could find nothing about it. What's wrong?