Sure, why not?
'CompoundValueNode*' is just like 'std::string value' in the other constructor.