Having established that your question is exclusively related to passing nodeby value in a member (instead of passing node*or node&), the answer is still yes. You can even define a member body inside a class, so you want.
, . , , , , . , node . , , , node.
( ).