我可以/应该从 Fusion 序列继承来实现我自己的序列类吗?如果没有,为什么不呢?
例如:
typedef boost::fusion::vector<
std::vector<const char*>,
int,
double > MyVector;
class MyVectorWithData : public MyVector
{
public:
MyVectorWithData(int i); // Constructor does some initialization
// may be other member functions acting on baseclass MyVector
};