Well, my mpl adventure continues.
I'm trying to place pair members of a sequence with their keys:
#include
#include
#include
#include
#include
#include
#include
#include <iostream>
#include <typeinfo>
using namespace boost;
using namespace boost::mpl;
struct pair_base {};
template
struct pair_type : public pair, private pair_base {};
template<typename Sequence>
struct replaceit {
typedef typename replace_if<
Sequence,
is_base_and_derived,
key_type