Revert "友元函数、友元类"

This reverts commit 275e8f157039d78eb181b85a763411fe73c288cf.