Say there is a class test
with a member void test::foo()
, we know we can create an alias for this class by typedef test alt
(or the using
command.)
Does c++ support aliasing class members in the following sense: typedef test::foo() alt::fooatl();
, i.e., alt.fooalt()
calls should correspond to a call to test.foo()
?