Thanx a lot, Lars! 
Your answer is worked perfect to solve of my task!

 inline Y X::getY() const { return Y(); }


Cheers,
Sergiy