Quick question about 'using'
Can using be used to make public a public method of an a member object?
class foo {void bar() {}};
class doink {public: void bar(){Foo.bar();} private: foo Foo;}
can 'doink' be built like this instead?
class doinkUsing {public: using Foo.? private: foo Foo;}
yeah, I know how to use using with ancestor classes - just wanted to know if it could be used to avoid writing forwarding functions.
The views expressed are those of the author and do not reflect any position taken by the Goverment of the United States of America, National Aeronautics and Space Administration (NASA), Jet Propulsion Laboratory (JPL), or California Institute of Technology (CalTech)